home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio Plus 10-94
/
AUDIOPLUS.ISO
/
win3
/
cd
/
cdplay32
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-04-02
|
892b
|
39 lines
@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 upgrade.zip %1: > nul
copy *.dos %1: > nul
del %1:install.bat > nul
echo Installation complete.
echo To run change to the directory CDPLAYER and type CDPLAYER followed by
echo return.
:exit