home *** CD-ROM | disk | FTP | other *** search
/ Sunny 1,000 Collection / SUNNY1000.iso / Files / Dos / Demogm / HERODEMO.ZIP / HERODEMO.EXE / INSTGAME.BAT < prev    next >
DOS Batch File  |  1990-09-14  |  884b  |  34 lines

  1. echo off
  2. rem  Parameters are
  3. rem       %1:  drive on which to install the program
  4. rem       %2:  drive from which installation is taking place
  5. rem  Check to see that there is enough space for the installation.
  6. space %1: 500kb
  7. if errorlevel 1 goto NoSpace
  8. rem  Create the drivers subdirectory and copy the drivers.
  9. godir %1:\sierra\herodemo
  10. if errorlevel 1 goto CantCreate
  11. rem  Copy over the necessary files.
  12. echo Copying drivers...
  13. copy %2:*.drv
  14. echo Copying resources...
  15. copy %2:sierra.com
  16. copy %2:sciv.exe
  17. copy %2:resource.*
  18. copy %2:*.bat
  19. copy %2:exists.com
  20. copy %2:what.exe
  21. %2:godir %1:\sierra
  22. copy %2:*.bat %1:\sierra
  23. goto Exit
  24. :NoSpace
  25. echo "There is not enough space on %1 to install this Demo."
  26. echo "Approximately 500 Kbytes of disk space are required."
  27. pause
  28. goto Exit
  29. :CantCreate
  30. echo "Unable to create directory %1."
  31. pause
  32. goto Exit
  33. :Exit
  34.