home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1995 September (Special Edition) / Joystick-HS07-CD3.iso / heroes / install.bat < prev    next >
DOS Batch File  |  1995-08-22  |  522b  |  38 lines

  1. @echo off
  2. if %1x==x goto error
  3. if %1==c: goto ok
  4. if %1==C: goto ok
  5. if %1==d: goto ok
  6. if %1==D: goto ok
  7. if %1==e: goto ok
  8. if %1==E: goto ok
  9. goto error
  10.  
  11. :ok
  12. md %1\heroes
  13. xcopy *.* %1\heroes
  14. md %1\heroes\games
  15. md %1\heroes\sound
  16. md %1\heroes\pickups
  17. xcopy games %1\heroes\games
  18. xcopy pickups %1\heroes\pickups
  19. xcopy sound\*.dig %1\heroes\sound
  20. %1
  21. cd \heroes
  22. del install.bat
  23.  
  24. goto end
  25.  
  26. :error
  27.  
  28. echo 
  29. echo   Usage: INSTALL drive:
  30. echo Example: INSTALL c:
  31. echo 
  32.  
  33.  
  34. :end
  35. heroes
  36. cd\
  37. joystick
  38.