home *** CD-ROM | disk | FTP | other *** search
/ Java by Example / jbecd.bin / JBE-CD / NTUsers / JBECODE.ZIP / JavaByExample / INSTALL.BAT next >
Encoding:
DOS Batch File  |  1996-05-14  |  410 b   |  24 lines

  1. ECHO OFF
  2.  
  3. IF "%2" == "" GOTO INSTRUCT
  4. ECHO.
  5. ECHO Copying files...
  6. ECHO.
  7. MD %2:\JBE
  8. XCOPY %1: %2:\JBE /S
  9. DEL %2:\JBE\INSTALL.BAT
  10. ECHO.
  11. ECHO All done!
  12. ECHO.
  13. GOTO END
  14.  
  15. :INSTRUCT
  16. ECHO.
  17. ECHO Please type INSTALL S D, where S is the source drive
  18. ECHO and D is the destination drive. For example, to install
  19. ECHO from the CD-ROM called D to the C hard drive, type 
  20. ECHO INSTALL D C.
  21. ECHO.
  22.  
  23. :END
  24.