home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1995 September (Special Edition) / Joystick-HS07-CD3.iso / wetlands / install.bat < prev    next >
DOS Batch File  |  1995-05-06  |  412b  |  31 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\wetlands
  13. xcopy *.* %1\wetlands
  14. md %1\wetlands\demo
  15. xcopy demo %1\wetlands\demo
  16. %1
  17. cd \wetlands
  18. del install.bat
  19. del wetland2.txt
  20. goto end
  21.  
  22. :error
  23.  
  24. echo 
  25. echo   Usage: INSTALL drive:
  26. echo Example: INSTALL c:
  27. echo 
  28.  
  29.  
  30. :end
  31.