home *** CD-ROM | disk | FTP | other *** search
/ Multimédia la Compil' 2 / Sybex_Multimedia_La_Compil_2.iso / cdplayer / install.bat < prev    next >
DOS Batch File  |  1994-01-04  |  999b  |  41 lines

  1. @echo off
  2. if %1!==! goto help
  3. goto start
  4. :help
  5. @echo off
  6. echo . 
  7. echo . 
  8. echo Type INSTALL followed by the drive letter of the hard disk on which
  9. echo CDPlayer is to be installed.
  10. echo For expample:
  11. echo . 
  12. echo       INSTALL C
  13. echo . 
  14. echo This will install CDPlayer in a directory called CDPLAYER on drive C.
  15. echo . 
  16. goto exit
  17. :start
  18. Echo Installing CDPlayer on %1:
  19. md %1:\cdplayer > nul
  20. copy install.bat %1:\cdplayer > nul
  21. if exist %1:\cdplayer\install.bat goto continue
  22. Echo Cannot create directory
  23. goto help
  24. :continue
  25. cd %1:\cdplayer
  26. echo Copying files ......
  27. copy cdplayer.exe %1: > nul
  28. copy cdtsr.exe %1: > nul
  29. copy *.txt %1: > nul
  30. copy *.frm %1: > nul
  31. copy *.dos %1: > nul
  32. del %1:install.bat > nul
  33. edit readme.dos
  34. echo Installation complete.
  35. echo To run change to the directory CDPLAYER and type CDPLAYER followed by
  36. echo return.
  37. echo .
  38. echo To register your copy of CDPlayer, print ORDER.FRM and follow the
  39. echo instructions contained therein.
  40. :exit
  41.