home *** CD-ROM | disk | FTP | other *** search
/ 3D Super CD Gaming / HELGAM2.iso / vrshar / install.bat < prev    next >
DOS Batch File  |  1994-07-21  |  2KB  |  67 lines

  1. @ECHO OFF
  2. ECHO *******************************
  3. ECHO  VR Slingshot 1.0 Installation
  4. ECHO *******************************
  5. IF "%1"=="" GOTO INFO_
  6. ECHO Press any key to install VRS in %1\VRS
  7. ECHO or press Ctrl-C to cancel.
  8. PAUSE > nul
  9.  
  10.  
  11. ECHO MKDIR %1\VRS
  12. MKDIR %1\VRS
  13.  
  14.  
  15. ECHO COPY readme.txt %1\VRS
  16. COPY readme.txt %1\VRS
  17. IF NOT EXIST %1\VRS\readme.txt GOTO ERROR_
  18. ECHO COPY readme.bat %1\VRS
  19. COPY readme.bat %1\VRS
  20. IF NOT EXIST %1\VRS\readme.bat GOTO ERROR_
  21. ECHO vlz.exe /d %1\VRS
  22. vlz.exe /d      %1\VRS
  23. IF ERRORLEVEL 1 GOTO ERROR_
  24.  
  25.  
  26. ECHO The installation is complete.
  27. ECHO To run VR Slingshot, change to %1\VRS and type 
  28. ECHO   vrs
  29. GOTO DONE_
  30.  
  31.  
  32. :INFO_
  33.  
  34. ECHO USAGE: "install <target path>"
  35. ECHO Example 1:
  36. ECHO   install C:
  37. ECHO This will install VR Slingshot in C:\VRS
  38. ECHO Example 2, where a directory GAMES already exists:
  39. ECHO   install C:\GAMES
  40. ECHO This will install VR Slingshot in C:\GAMES\VRS
  41. ECHO --------------------------------------------------------
  42. ECHO This command must be executed in the current path
  43. ECHO where the VR Slingshot files reside.
  44. ECHO For example, if you are on C: and the install files
  45. ECHO are in A:, type
  46. ECHO   A:
  47. ECHO   install C:
  48. ECHO --------------------------------------------------------
  49. ECHO If you wish to do the install by hand, copy all the
  50. ECHO files from the install disk to where you want them,
  51. ECHO then type
  52. ECHO   vlz
  53. ECHO This will decompress all the files. You can then delete
  54. ECHO vlz.exe. To run VR Slingshot, type
  55. ECHO   vrs
  56. goto DONE_
  57.  
  58.  
  59. :ERROR_
  60.  
  61. ECHO .
  62. ECHO The installation was not completed.
  63. ECHO Make sure a valid path was specified and that you have
  64. ECHO at least 2.1 megabytes of free disk space.
  65.  
  66. :DONE_
  67.