home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
25 Mega Hit Games for DOS
/
25_Mega_Hit_Games_Micro_Star_1996.iso
/
copydir.bat
< prev
next >
Wrap
DOS Batch File
|
1996-06-10
|
595b
|
32 lines
@ECHO OFF
CLS
if .%2==. goto err3
if exist %1:\%2\NUL goto err2
cd\
if not exist launcher.exe goto err
md %1\%2
xcopy %2\*.* %1\%2 /s
%1
cd\%2
goto end
:err
echo Not at ROOT directory of CDRom drive.
goto rest
:err1
echo Error 1
:rest
pause
goto end
:err2
echo Format for using COPYDIR is: COPYDIR X: dirname
echo X:=Destination drive letter. ( i.e. C: )
echo dirname=Directory name of GAME.
goto rest
:err3
echo Format for using COPYDIR is: COPYDIR X: dirname
echo X:=Destination drive letter. ( i.e. C: )
echo dirname=Directory name of GAME.
goto rest
:end