home *** CD-ROM | disk | FTP | other *** search
/ Classic Collection - Adventure & Fantasy / CLASS211.bin / swt / remprods.bat < prev    next >
Encoding:
DOS Batch File  |  1993-10-26  |  2.7 KB  |  98 lines

  1. @echo off
  2. REM %1  Hard Disk drive letter 
  3.  
  4. if %1a==%1%1a goto error
  5. if not exist %1:\classic\*.* goto error
  6.  
  7. :start
  8. cls
  9.  
  10. echo.
  11. echo.
  12. echo Which products would you like to remove?
  13. echo.
  14. echo  1. Remove Bill & Ted's Excellent Adventure from hard drive
  15. echo  2. Remove The Savage Empire from hard drive
  16. echo  3. Remove Zak McKracken And The Alien Mindbenders from hard drive
  17. echo  4. Remove Maniac Mansion from hard drive
  18. echo  5. Remove ALL products from hard drive
  19. echo  6. Exit
  20. echo.
  21. echo   Enter an option (1-6)
  22. query
  23.  
  24. if ERRORLEVEL 6 goto end
  25. if ERRORLEVEL 5 goto all
  26. if ERRORLEVEL 4 goto maniac
  27. if ERRORLEVEL 3 goto zak
  28. if ERRORLEVEL 2 goto savage
  29. if ERRORLEVEL 1 goto bill
  30.  
  31. echo Error!  Error!   Input not 1-6 try again
  32. pause
  33. goto start
  34.  
  35. :bill
  36. echo Removing   Bill & Ted's Excellent Adventure
  37. if exist %1:\classic\csbill\*.* del %1:\classic\csbill\*.*
  38. if exist %1:\classic\csbill\nul rd %1:\classic\csbill
  39. goto start
  40.  
  41. :savage
  42. echo Removing   The Savage Empire
  43. if exist %1:\classic\cssavage\savegame\nul del %1:\classic\cssavage\savegame\*.*
  44. if exist %1:\classic\cssavage\savegame\nul rd %1:\classic\cssavage\savegame
  45. if exist %1:\classic\cssavage\*.* del %1:\classic\cssavage\*.*
  46. if exist %1:\classic\cssavage\nul rd %1:\classic\cssavage
  47. goto start
  48.  
  49. :zak
  50. echo Removing   Zak McKracken And The Alien Mindbenders
  51. if exist %1:\classic\cszak\*.* del %1:\classic\cszak\*.*
  52. if exist %1:\classic\cszak\nul rd %1:\classic\cszak
  53. goto start
  54.  
  55. :maniac
  56. echo Removing   Maniac Mansion
  57. if exist %1:\classic\csmaniac\*.* del %1:\classic\csmaniac\*.*
  58. if exist %1:\classic\csmaniac\nul rd %1:\classic\csmaniac
  59. goto start
  60.  
  61.  
  62. :all
  63. echo Removing   Bill & Ted's Excellent Adventure
  64. if exist %1:\classic\csbill\*.* del %1:\classic\csbill\*.*
  65. if exist %1:\classic\csbill\nul rd %1:\classic\csbill
  66.  
  67. echo Removing   The Savage Empire
  68. if exist %1:\classic\cssavage\savegame\nul del %1:\classic\cssavage\savegame\*.*
  69. if exist %1:\classic\cssavage\savegame\nul rd %1:\classic\cssavage\savegame
  70. if exist %1:\classic\cssavage\*.* del %1:\classic\cssavage\*.*
  71. if exist %1:\classic\cssavage\nul rd %1:\classic\cssavage
  72.  
  73. echo Removing   Zak McKracken And The Alien Mindbenders
  74. if exist %1:\classic\cszak\*.* del %1:\classic\cszak\*.*
  75. if exist %1:\classic\cszak\nul rd %1:\classic\cszak
  76.  
  77. echo Removing   Maniac Mansion
  78. if exist %1:\classic\csmaniac\*.* del %1:\classic\csmaniac\*.*
  79. if exist %1:\classic\csmaniac\nul rd %1:\classic\csmaniac
  80.  
  81. goto end
  82.  
  83.  
  84. :error
  85. echo.
  86. echo.
  87. echo Invalid Hard Drive Letter - %1
  88. echo.
  89. echo     usage:  remprods [hard drive]
  90. echo                hard drive - letter of drive where Classic Collection
  91. echo                             has been installed
  92. echo   example:  remprods c
  93. echo.
  94. echo.
  95.  
  96.  
  97. :end
  98.