home *** CD-ROM | disk | FTP | other *** search
/ Aztec Shareware Collection / STRATEGY.ISO / igo / install.bat < prev    next >
DOS Batch File  |  1991-12-28  |  887b  |  28 lines

  1. @echo off
  2. if %1x==x goto default
  3. if %2x==x goto default
  4. echo Installing GO to %2 from %1.
  5. echo I will create a directory called IGO on %2 and copy all files 
  6. echo there (about 500 Kbytes).
  7. echo Press any key to continue or control-C to cancel.
  8. pause
  9. echo Creating IGO directory on %2 drive.
  10. mkdir %2\IGO
  11. copy %1install2.bat %2\IGO
  12. %2\IGO\install2 %1 %2
  13. goto done
  14. :default
  15. echo Installing GO to your hard disk ( C: ) from your floppy ( A: ).  
  16. echo I will create a directory called IGO on C: and copy all files 
  17. echo there (about 500 Kbytes).  You can specify the disks to install
  18. echo from and to on the install command line.  For example:
  19. echo "install B: D:" will install from B: to D:.
  20. echo Press any key to continue or control-C to cancel.
  21. pause
  22. echo Creating IGO directory on C: drive.
  23. mkdir C:\IGO
  24. copy a:install2.bat c:\IGO
  25. c:\IGO\install2 A: C:
  26. :done
  27.  
  28.