home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1995 December
/
SOFM_Dec1995.bin
/
pc
/
win
/
edu
/
install.bat
next >
Wrap
DOS Batch File
|
1995-10-31
|
1KB
|
43 lines
echo off
rem %1 is the directory name that program will be copied to.
rem %2 is the name of the program to be copied
rem %3 is the file that starts the program to be copied
cls
echo ................................................................
echo .
echo . %2 will be installed to your
echo .
echo . C:\THECLUB\%1 directory.
echo .
echo . Checking for Directory C:\THECLUB, if it does not exist
echo . it will be created.
ECHO .
echo .
echo .
md c:\THECLUB
echo ................................................................
echo .
echo . Making directory C:\THECLUB\%1
echo .
echo .
md c:\THECLUB\%1
pause
echo ................................................................
echo .
echo . Move file to your hard drive.
echo . This is a list of file being copy to your hard drive.
echo .
echo .
xcopy %1 c:\THECLUB\%1 /S
pause
cls
echo %2 is now install to your Hard Drive C: in directory
echo C:\THECLUB\%1. To run this program from a DOS prompt
echo type C: and press the ENTER key then type
echo CD \THECLUB\%1 and press the ENTER key. Your prompt will
echo know be C:\THECLUB\%1.
ECHO .
echo To start the program type %3 and press the ENTER key.
echo .
pause