home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Games 4 / CD_1.iso / games / cubic / install.bat < prev    next >
DOS Batch File  |  1992-03-01  |  959b  |  31 lines

  1. @ECHO OFF
  2. CLS
  3. if %1.==. goto syntax
  4. if %2.==. goto syntax
  5. set drive=%1
  6. set direct=%2
  7. echo Creating '%direct%' directory on '%drive%' drive.
  8. if not exist %drive%:\%direct%\nul md %drive%:\%direct%
  9. for %%v in (PACKAGE.LST 3DCUBIC.EXE 3DCUBIC.HLP SOLVED.GAM README.BAT 3DCUBIC.ICN REGISTER.FRM GO.BAT) do call install2.bat %%v
  10. echo All files copied.
  11. echo.
  12. echo Type GO to start game.
  13. echo Thanks for trying 3DCUBIC game, I hope you will like it.
  14. echo.
  15. echo                                         Shahzad Bhatti
  16. echo                                         CompuServe 72760,3612
  17. goto end
  18. :syntax
  19. echo No parameters provided!
  20. echo This file installs Cubic Game to hard disk, please provide
  21. echo drive name and directory name as follows
  22. echo Syntax:
  23. echo        "INSTALL <drive> <path>"
  24. echo For example
  25. echo        "INSTALL C 3DCUBIC"
  26. echo will copy all files on C drive in 3DCUBIC directory.
  27. :end
  28. set drive=
  29. set direct=
  30. echo.
  31. echo.