home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / vrac / stoctime.zip / HARD.BAT < prev    next >
DOS Batch File  |  1995-03-05  |  2KB  |  97 lines

  1. @ ECHO OFF
  2. if "%1"=="a" goto cont
  3. if "%1"=="A" goto cont
  4. if "%1"=="b" goto cont
  5. if "%1"=="B" goto cont
  6. goto err
  7.  
  8. :cont
  9. if "%2"=="A" goto errn
  10. if "%2"=="a" goto errn
  11. if "%2"=="B" goto errn
  12. if "%2"=="b" goto errn
  13. if "%2"=="C" goto next
  14. if "%2"=="c" goto next
  15. if "%2"=="D" goto next
  16. if "%2"=="d" goto next
  17. if "%2"=="E" goto next
  18. if "%2"=="e" goto next
  19. if "%2"=="F" goto next
  20. if "%2"=="f" goto next
  21. if "%2"=="G" goto next
  22. if "%2"=="g" goto next
  23. if "%2"=="H" goto next
  24. if "%2"=="h" goto next
  25. if "%2"=="I" goto next
  26. if "%2"=="i" goto next
  27. if "%2"=="J" goto next
  28. if "%2"=="j" goto next
  29. if "%2"=="K" goto next
  30. if "%2"=="k" goto next
  31. if "%2"=="L" goto next
  32. if "%2"=="l" goto next
  33. if "%2"=="M" goto next
  34. if "%2"=="m" goto next
  35. if "%2"=="N" goto next
  36. if "%2"=="n" goto next
  37. if "%2"=="O" goto next
  38. if "%2"=="o" goto next
  39. if "%2"=="P" goto next
  40. if "%2"=="p" goto next
  41. if "%2"=="Q" goto next
  42. if "%2"=="q" goto next
  43. if "%2"=="R" goto next
  44. if "%2"=="r" goto next
  45. if "%2"=="S" goto next
  46. if "%2"=="s" goto next
  47. if "%2"=="T" goto next
  48. if "%2"=="t" goto next
  49. if "%2"=="U" goto next
  50. if "%2"=="u" goto next
  51. if "%2"=="V" goto next
  52. if "%2"=="v" goto next
  53. if "%2"=="W" goto next
  54. if "%2"=="w" goto next
  55. if "%2"=="X" goto next
  56. if "%2"=="x" goto next
  57. if "%2"=="Y" goto next
  58. if "%2"=="y" goto next
  59. if "%2"=="Z" goto next
  60. if "%2"=="z" goto next
  61.  
  62. :err
  63. echo.
  64. echo The HARD commmand must be followed by the letters for your source and
  65. echo destination drive. For example, HARD A C will install from floppy drive
  66. echo A to hard drive C. Please try again. Do not use   :  after drive letters.
  67. echo.
  68. echo. HARD A C M will install to a monochrome monitor
  69. echo. Just leave off the M to install to a color monitor.
  70. echo.
  71. goto end
  72.  
  73. :errn
  74. echo.
  75. echo THE PROGRAM MUST BE INSTALLED TO A HARD DRIVE.  PLEASE TRY AGAIN.
  76. echo.
  77. goto end
  78.  
  79.  
  80. :next
  81. @ echo off
  82. %2:
  83. CD \
  84. COPY %1:BRUN45.EXE %2:BRUN45.EXE
  85. MD stocktim
  86. COPY %1:*.* %2:\stocktim /V
  87. %2:
  88. CLS
  89. CD \
  90. CLS
  91. CD stocktim
  92. if "%3"=="m" GO M
  93. if "%3"=="M" GO M
  94. GO
  95. :end
  96.  
  97.