@echo off if %1!==! goto help goto start :help @echo off echo ÿ echo ÿ echo Type INSTALL followed by the drive letter of the hard disk on which echo CDPlayer is to be installed. echo For expample: echo ÿ echo INSTALL C echo ÿ echo This will install CDPlayer in a directory called CDPLAYER on drive C. echo ÿ goto exit :start @echo off Echo Installing CDPlayer on %1: md %1:\cdplayer > nul copy install.bat %1:\cdplayer > nul if exist %1:\cdplayer\install.bat goto continue Echo Cannot create directory goto help :continue cd %1:\cdplayer echo Copying files ...... copy cdplayer.exe %1: > nul copy cdtsr.exe %1: > nul copy *.txt %1: > nul copy *.frm %1: > nul copy *.dos %1: > nul del %1:install.bat > nul edit readme.dos echo Installation complete. echo To run change to the directory CDPLAYER and type CDPLAYER followed by echo return. echo . echo To register your copy of CDPlayer, print ORDER.FRM and follow the echo instructions contained therein. :exit