home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF034.ZIP / FINSTALL.BAT < prev    next >
DOS Batch File  |  1989-08-19  |  2KB  |  51 lines

  1. echo off
  2. if %2x == x goto instruct
  3. echo This installs the Nonprofit General Ledger program and documentation
  4. echo to floppy disks.  You'll need two blank, formatted floppy disks.
  5. echo It installs from the disk in drive %1: to disks in drive %2:.
  6. echo  
  7. echo If this is NOT what you wish to do, press the Ctrl key and the C key
  8. echo at the same time, and then type Y.  Otherwise
  9. pause
  10. echo  
  11. echo OK, here we go.  If you see error messages, enter %0 with
  12. echo no other parameters to see instructions and then try again.
  13. echo  
  14. echo First we'll copy the program to a diskette in drive %2:.
  15. echo Put a blank diskette in drive %2:.
  16. pause
  17. echo  
  18. echo Extracting the program from the archive file . . .
  19. %1:arce %1:ngl112 *.exe %2:\
  20. if errorlevel 1 goto badarce
  21. echo  
  22. echo Next we'll copy the manual to a diskette in drive %2:.
  23. echo Remove the diskette from drive %2:.
  24. echo Put another blank diskette in drive %2:.
  25. pause
  26. echo  
  27. echo Extracting the documentation from the archive file.
  28. %1:arce %1:ngl112 *.doc %2:\
  29. if errorlevel 1 goto badarce
  30. goto goodarce
  31. :badarce
  32. echo  
  33. echo ERROR -- ARCHIVE EXTRACTION FAILED
  34. echo Enter %0 to see instructions and then try again.
  35. goto end
  36. :goodarce
  37. echo  
  38. echo Installation complete.  The program is on the first floppy disk,
  39. echo and the manual is on the second.  Read the manual, NGL111.DOC.
  40. goto end
  41. :instruct
  42. echo  
  43. echo Oops -- you must enter two letters after %0.  Type letters only,
  44. echo no colons, and separate %0 and the letters with spaces.
  45. echo The first letter is the floppy disk drive you are installing FROM.
  46. echo The second letter is the floppy disk you are installing TO.
  47. echo For instance, to install from drive A: to drive B:, Enter:
  48. echo  
  49. echo      %0 A B
  50. :end
  51.