home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / gl_4_131.zip / GINSTALL.BAT < prev    next >
DOS Batch File  |  1988-07-28  |  982b  |  53 lines

  1. echo off
  2. if %1x==x goto prob
  3. goto hard
  4. :prob
  5. echo     You must specify the directory to install GLitch on
  6. echo     Eg. GINSTALL C:\REFS
  7. echo                              try me again !
  8. goto end
  9.  
  10. :hard
  11.  
  12. if exist glitch.exe goto disk1
  13. cls
  14. :ask1
  15. echo Please insert DISK ONE 
  16. pause
  17. if exist glitch.exe goto disk1
  18. echo  No, I need the disk with GLITCH.EXE on it,   disk 1
  19. goto ask1
  20.  
  21.  
  22. :disk1
  23. cls
  24. md %1
  25. cls
  26. echo Copying files to %1
  27. copy glitch.exe %1
  28. copy read-me.1 %1
  29. cls
  30.  
  31. :getdoc
  32. Echo Please insert DISK TWO    (manual disk)
  33. pause
  34. if exist glitch.doc goto doc
  35. echo No, I must have the disk with GLITCH.DOC on it - disk 2
  36. goto getdoc
  37.  
  38. :doc
  39. cls
  40. echo Thanks, copying manual...
  41. copy glitch.doc %1
  42. copy print.bat %1
  43. copy read-me.2 %1
  44.  
  45. echo Done !
  46. echo to run GLitch type:
  47. echo     CD %1
  48. echo     GLITCH
  49. echo                 or you can include %1 in your PATH setting
  50. echo                    then you can just type GLITCH at any time
  51.  
  52. :end
  53.