home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / religion / problems / install.bat < prev    next >
DOS Batch File  |  1991-07-28  |  1KB  |  42 lines

  1. echo off
  2. cls
  3. FOR %%I in (A: a: B: b: C: c: D: d: E: e: F: f: G: g: H: h: I: i: J: j: K: k:) do If "%%I" == "%1" goto goodparm
  4. goto help
  5. :goodparm
  6. echo This program will copy the PROBLEMS distribution diskette
  7. echo files to the hard drive listed in the command line.
  8. echo ┌──────────────────────────────────────────────────────┐
  9. echo │  You are about to install PROBLEMS  on %1\PROBLEMS   │
  10. echo └──────────────────────────────────────────────────────┘
  11. echo If this is NOT what you want to do, please press Control-C at the
  12. echo pause and re-enter it. Otherwise, press any key....
  13. pause
  14. echo Installing PROBLEMS . . .
  15. md %1\PROBLEMS
  16. echo copying diskone.exe to %1\PROBLEMS
  17. copy DISKONE.EXE %1\PROBLEMS /v
  18. echo If You're Installing on A: or B: Put your Other disk in now.
  19. PAUSE
  20. md %1\PROBLEMS
  21. echo copying disktwo.exe to %1\PROBLEMS
  22. copy DISKTWO.EXE %1\PROBLEMS /v
  23. %1
  24. cd \PROBLEMS
  25. DISKTWO
  26. DEL DISKTWO.EXE
  27. echo If You're Installing on A: or B: Put your Other disk in now.
  28. PAUSE
  29. DISKONE
  30. DEL DISKONE.EXE
  31. goto exit
  32. :help
  33. echo Sorry, you must specify a drive on the command line to configure
  34. echo PROBLEMS correctly. For instance, the following command:
  35. echo ┌────────────────────────────┐
  36. echo │        INSTALL C:          │
  37. echo └────────────────────────────┘
  38. echo will copy the files to a directory called \PROBLEMS on drive C:. And
  39. echo and configure PROBLEMS to run from the directory C:\PROBLEMS
  40. :exit
  41.  
  42.