home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 9
/
CD_ASCQ_09_1193.iso
/
maj
/
sstuff
/
safecopy.bat
< prev
next >
Wrap
DOS Batch File
|
1992-04-05
|
333b
|
12 lines
echo off
rem SAFECOPY.BAT will copy a group of files to a new disk ONLY if
rem enough room exists for all of the copied files.
rem Syntax:
rem SAFECOPY filespec d:
rem For example: SPACE C:\COMM\*.* e:
rem copies all files in the C:\COMM directory to drive E.
space %1 %2 /sk /c
if errorlevel 1 goto end
xcopy %1 %2
:end