home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703B.ISO / driver / adaptec / p35ja2b2 / drvname.bat next >
DOS Batch File  |  1995-06-29  |  2KB  |  117 lines

  1. @echo off
  2. cls
  3. echo --------------------------------------------------------------------
  4. echo      使用するフロッピードライブ名をタイプして下さい。               
  5. echo      中断するには (スペース) を押して下さい。                            
  6. echo --------------------------------------------------------------------
  7. keyin /ABCDEFGHIJKLMNOPQRSTUVWXYZ" "
  8. if errorlevel 27 goto abort
  9. if errorlevel 26 goto z
  10. if errorlevel 25 goto y
  11. if errorlevel 24 goto x
  12. if errorlevel 23 goto w
  13. if errorlevel 22 goto v
  14. if errorlevel 21 goto u
  15. if errorlevel 20 goto t
  16. if errorlevel 19 goto s
  17. if errorlevel 18 goto r
  18. if errorlevel 17 goto q
  19. if errorlevel 16 goto o
  20. if errorlevel 15 goto o
  21. if errorlevel 14 goto n
  22. if errorlevel 13 goto m
  23. if errorlevel 12 goto l
  24. if errorlevel 11 goto k
  25. if errorlevel 10 goto j
  26. if errorlevel 9 goto i
  27. if errorlevel 8 goto h
  28. if errorlevel 7 goto g
  29. if errorlevel 6 goto f
  30. if errorlevel 5 goto e
  31. if errorlevel 4 goto d
  32. if errorlevel 3 goto c
  33. if errorlevel 2 goto b
  34. if errorlevel 1 goto a
  35. :a
  36. set dn=a
  37. goto end
  38. :b
  39. set dn=b
  40. goto end
  41. :c
  42. set dn=c
  43. goto end
  44. :d
  45. set dn=d
  46. goto end
  47. :e
  48. set dn=e
  49. goto end
  50. :f
  51. set dn=f
  52. goto end
  53. :g
  54. set dn=g
  55. goto end
  56. :h
  57. set dn=h
  58. goto end
  59. :i
  60. set dn=i
  61. goto end
  62. :j
  63. set dn=j
  64. goto end
  65. :k
  66. set dn=k
  67. goto end
  68. :l
  69. set dn=l
  70. goto end
  71. :m
  72. set dn=m
  73. goto end
  74. :n
  75. set dn=n
  76. goto end
  77. :o
  78. set dn=o
  79. goto end
  80. :p
  81. set dn=p
  82. goto end
  83. :q
  84. set dn=q
  85. goto end
  86. :r
  87. set dn=r
  88. goto end
  89. :s
  90. set dn=s
  91. goto end
  92. :t
  93. set dn=t
  94. goto end
  95. :u
  96. set dn=u
  97. goto end
  98. :v
  99. set dn=v
  100. goto end
  101. :w
  102. set dn=w
  103. goto end
  104. :x
  105. set dn=x
  106. goto end
  107. :y
  108. set dn=y
  109. goto end
  110. :z
  111. set dn=z
  112. goto end
  113. :abort
  114. set dn=@
  115.  
  116. :end
  117.