home *** CD-ROM | disk | FTP | other *** search
/ Magicom Multimedia Collection: Puzzle 40 Pack / MAGICOM.bin / programs / crssdown / crssdown.arj / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-05-05  |  1.5 KB  |  65 lines

  1. @echo off
  2. if '%1'=='' goto INSTR
  3. if '%1'=='H' goto LOOP
  4. C:
  5. cd\
  6. if exist C:\XDOWN\*.* goto OKDIR
  7. md XDOWN
  8. :OKDIR
  9.  cd XDOWN
  10.  if '%1'=='A' goto ADRIVE
  11.  copy B:\*.*
  12.  goto LOOP
  13. :ADRIVE
  14.  copy A:\*.*
  15. goto LOOP
  16. :INSTR
  17.  echo You must type  INSTALL  followed by a space
  18.  echo followed by the letter of the drive you are
  19.  echo installing from.  For example, the command:
  20.  echo                  INSTALL A
  21.  echo installs CROSSDOWN from the A floppy drive.
  22.  echo.
  23.  echo                  INSTALL H
  24.  echo installs CROSSDOWN already  downloaded to a
  25.  echo hard drive  or transferred off of a CD-ROM.
  26.  goto END
  27. :LOOP
  28.  if exist XWD2LPT1.EXE del XWD2LPT1.EXE
  29.  cls
  30.  echo PLEASE SELECT YOUR PRINTER (1-5)
  31.  echo --------------------------------
  32.  echo   1 - Epson 9-Pin Dot Matrix
  33.  echo   2 - Epson 24-Pin Dot Matrix
  34.  echo   3 - Hewlett Packard LaserJet
  35.  echo   4 - Hewlett Packard DeskJet
  36.  echo   5 - PostScript
  37.  getans
  38.  if errorlevel 53 goto POST
  39.  if errorlevel 52 goto DJ5C
  40.  if errorlevel 51 goto HPLJ
  41.  if errorlevel 50 goto EP24
  42.  if errorlevel 49 goto EP09
  43.  goto LOOP
  44. :POST
  45.  copy XWD2PS.EXE XWD2LPT1.EXE 
  46.  goto DONE
  47. :DJ5C
  48.  copy XWD2DJ5.EXE XWD2LPT1.EXE
  49.  goto DONE
  50. :HPLJ
  51.  copy XWD2HPL.EXE XWD2LPT1.EXE
  52.  goto DONE
  53. :EP24
  54.  copy XWD2EP24.EXE XWD2LPT1.EXE
  55.  goto DONE
  56. :EP09
  57.  copy XWD2EP9.EXE XWD2LPT1.EXE
  58. :DONE
  59.  cls
  60.  echo ***********************************
  61.  echo CROSSDOWN INSTALLATION IS COMPLETE!
  62.  echo     TYPE XDOWN28 [ENTER] TO RUN
  63.  echo ***********************************
  64. :END
  65.