home *** CD-ROM | disk | FTP | other *** search
/ The SelectWare System Volume 2 #3 / The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso / swinstal.bat < prev    next >
DOS Batch File  |  1990-05-22  |  2KB  |  63 lines

  1. echo off
  2. cls
  3. if A%1%1==A%1 GOTO :NEEDPARAM
  4. IF NOT EXIST EMORE.PIC GOTO :WRONGDRIVE
  5.  
  6. echo This batch file installs the program files for The SelectWare
  7. echo System to the hard disk. They will be installed under the
  8. echo subdirectory %1:\SWTDEMOS
  9. echo .
  10. echo Type CTRL-C to Exit, or
  11. pause
  12.  
  13. if exist %1:\SWTDEMOS\SW90W.CFG goto gocopy
  14. echo .
  15. echo Creating subdirectory %1:\SWTDEMOS
  16. echo An error here is ok if you have previously installed or run
  17. echo The SelectWare System.
  18. echo .
  19. md %1:\SWTDEMOS
  20. echo .
  21.  
  22. :gocopy
  23. echo .
  24. echo .
  25. echo Copying The SelectWare System program files to drive %1
  26. echo 11 files will be copied
  27. copy sw.exe %1:\SWTDEMOS
  28. copy swstart.exe %1:\SWTDEMOS
  29. copy survey.exe %1:\SWTDEMOS
  30. copy *.fnt %1:\SWTDEMOS >nul
  31. echo         2 file(s) copied
  32. copy map.com %1:\SWTDEMOS
  33. copy GOSW.BAT %1:\
  34. copy *.txt %1:\SWTDEMOS >nul
  35. echo         4 file(s) copied
  36. %1:
  37. cd \SWTDEMOS
  38. cls
  39. echo The SelectWare System has been installed to drive %1.
  40. echo Also, a batch file called GOSW.BAT has been placed in your root
  41. echo directory.  You can use it to automate starting The SelectWare System.
  42. echo .>nul
  43. echo To run The SelectWare System now, type SWSTART [Enter].
  44. GOTO :FINISH
  45.  
  46. :NEEDPARAM
  47. echo This batch file installs the program files for The SelectWare
  48. echo System to the hard disk.
  49. echo .
  50. echo To run, type SWINSTAL x where x is the hard drive letter
  51. echo       (i.e. SWINSTAL C)
  52. GOTO :FINISH
  53.  
  54. :WRONGDRIVE
  55. echo To run SWINSTAL, you must be logged onto your CD-ROM drive and
  56. echo in the root directory.
  57. echo .>nul
  58.  
  59.  
  60.  
  61. :FINISH
  62.  
  63.