home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF019.ZIP / FINSTALL.BAT < prev    next >
DOS Batch File  |  1990-06-02  |  2KB  |  53 lines

  1. echo off
  2. if %2x == x goto instruct
  3. echo This installs the Reliance Mailing List 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:mail23 *.exe %2:\ /r
  20. if errorlevel 1 goto badarce
  21. %1:arce %1:mail23 *.bat %2:\ /r
  22. if errorlevel 1 goto badarce
  23. echo  
  24. echo Next we'll copy the manual to a diskette in drive %2:.
  25. echo Remove the diskette from drive %2:.
  26. echo Put another blank diskette in drive %2:.
  27. pause
  28. echo  
  29. echo Extracting the documentation from the archive file.
  30. %1:arce %1:mail23  *.doc %2:\ /r
  31. if errorlevel 1 goto badarce
  32. goto goodarce
  33. :badarce
  34. echo  
  35. echo ERROR -- ARCHIVE EXTRACTION FAILED
  36. echo Enter %0 to see instructions and then try again.
  37. goto end
  38. :goodarce
  39. echo  
  40. echo Installation complete.  The program is on the first floppy disk,
  41. echo and the manual is on the second.  Read the manual, MAIL230.DOC.
  42. goto end
  43. :instruct
  44. echo  
  45. echo Oops -- you must enter two letters after %0.  Type letters only,
  46. echo no colons, and separate %0 and the letters with spaces.
  47. echo The first letter is the floppy disk drive you are installing FROM.
  48. echo The second letter is the floppy disk you are installing TO.
  49. echo For instance, to install from drive A: to drive B:, Enter:
  50. echo  
  51. echo      %0 A B
  52. :end
  53.