home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 12
/
XENIATGM12.ISO
/
jim
/
copyhd.bat
next >
Wrap
DOS Batch File
|
1996-01-17
|
412b
|
26 lines
@echo off
if c%1 == c goto _nodir
if c%2 == c goto _nodir
md %1:\%2
echo a > %1:\%2\x
if not exist %1:\%2\x goto _nodir
del %1:\%2\x
xcopy /S/E \%2\*.* %1:\%2
if errorlevel 1 goto _nocopy
echo Installazione completata
if c%3 == c goto _end
%1:
cd \%2
%3
goto _end
:_nodir
echo Impossibile creare la directory %1:\%2
goto _end
:_nocopy
echo Impossibile copiare i files
goto _end
:_end