home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 101.img / QW10INST.ZIP / INSTALL.BAT next >
DOS Batch File  |  1990-08-08  |  4KB  |  79 lines

  1. ECHO OFF
  2. cls
  3. if %1!==! goto error
  4. ECHO        If you have not read the file READ.ME, please do so.
  5. ECHO        This install batch file will install the Quarterdeck White
  6. ECHO        Papers and QTEST to %1:\QWHITE.  The White Papers are
  7. ECHO        shipped in a compressed format to allow them to fit on a
  8. ECHO        single diskette.  The install will create the readable
  9. ECHO        ASCII files. If you wish to install these files to another
  10. ECHO        subdirectory press Ctrl-Break now and read the file READ.ME on
  11. ECHO        the install disk for more information.
  12. ECHO        -------------------------------------------------------------
  13. ECHO        Press any key to continue or Ctrl-Break to stop.
  14. pause >NUL
  15. echo        Creating %1:\QWHITE
  16. md %1:\QWHITE >NUL
  17. echo . >%1:\qwhite\QW-PIF.DVP
  18. if exist %1:\qwhite\QW-PIF.DVP goto install >NUL
  19. goto ERROR
  20. :INSTALL
  21. erase %1:\qwhite\QW-PIF.DVP >NUL
  22. echo        Copying QTEST.COM
  23. copy QTEST.COM %1:\QWHITE >NUL
  24. if NOT EXIST %1:\QWHITE\QTEST.COM echo        QTEST.COM could not be copied
  25. echo        Copying QTEST.TEC
  26. copy QTEST.TEC %1:\QWHITE >NUL
  27. if NOT EXIST %1:\QWHITE\QTEST.TEC echo        QTEST.TEC could not be copied
  28. echo        Copying READ.ME
  29. copy READ.ME %1:\QWHITE >NUL
  30. if NOT EXIST %1:\QWHITE\READ.ME echo          READ.ME could not be copied
  31. ECHO        Copying QWHITE10.EXE
  32. copy QWHITE10.EXE %1:\QWHITE >NUL
  33. if NOT EXIST %1:\QWHITE\QWHITE10.EXE goto COPYERR
  34. ECHO        Copy complete
  35. %1:
  36. echo        Extracting The Quarterdeck White Papers
  37. cd %1:\QWHITE
  38. QWHITE10 -o
  39. if errorlevel 1 goto EXTERR
  40. erase QWHITE10.EXE >NUL
  41. ECHO        -------------------------------------------------------------
  42. ECHO        The Quarterdeck White Papers and QTEST have been installed to
  43. ECHO        %1:\QWHITE.  If you are using DESQview refer to 'OTHER:Adding
  44. ECHO        Your Own Program' on pages 60-61 of your version 2 manual for
  45. ECHO        help on adding the Quarterdeck White Papers to your DESQview
  46. ECHO        Open Window Menu. You should also read the files QTEST.TEC and
  47. ECHO        QWHITE.TEC for information on running QTEST and QWHITE. The
  48. ECHO        Quarterdeck White Papers program, QWHITE.COM, requires DESQview
  49. ECHO        version 2.23 to run.  If you do not have DESQview version 2.23
  50. ECHO        or later, you may use your word processor, editor, or file
  51. ECHO        viewer to read the technical notes. Read the files QWHITE.TEC
  52. ECHO        and READ.ME for more information.
  53. goto END
  54. :COPYERR
  55. ECHO        -------------------------------------------------------------
  56. ECHO        The file QWHITE10.EXE could not be copied.  The install program
  57. ECHO        cannot continue.
  58. goto INSTERR
  59. :EXTERR
  60. ECHO        -------------------------------------------------------------
  61. ECHO        The file QWHITE10.EXE could be run.  The install program
  62. ECHO        cannot continue.  Make sure the file QWHITE10.EXE has been
  63. ECHO        copied correctly.  Switch to %1:\QWHITE and run QWHITE10.
  64. :INSTERR
  65. ECHO        Make sure your diskette has not been damaged.
  66. goto END
  67. :ERROR
  68. ECHO        -------------------------------------------------------------
  69. ECHO        The INSTALL failed.  Switch to the drive where you have placed
  70. ECHO        the install diskette and type INSTALL X where X is the drive
  71. ECHO        letter where INSTALL should place its files. For example: If
  72. ECHO        the diskette is in the A drive and you wish to install to the C
  73. ECHO        drive, switch to the A drive by typing A: and pressing ENTER.
  74. ECHO        Then type INSTALL C and press ENTER to start the install.
  75. ECHO        You may also want to read the file READ.ME for additional
  76. ECHO        information.
  77. :END
  78. ECHO        -------------------------------------------------------------
  79.