home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol7n17.zip
/
MCOPY.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-09-06
|
429b
|
28 lines
ECHO OFF
REM MCOPY.BAT
IF %1.==. GOTO :ABORT
IF %2.==. GOTO :ABORT
IF %3.==. GOTO :ABORT
CD %1
SET TARGET=%2
SHIFT
SHIFT
:
:COPY
ECHO Copying %1 . . .
COPY %1 %TARGET%
SHIFT
IF %1.==. GOTO FINISH
GOTO COPY
:
:ABORT
ECHO Usage: MCOPY FR:pathspec TO:pathspec [filespec filespec...]
ECHO Example: MCOPY C:\MASM A:\MASM *.ASM *.LST *.REF
GOTO :DONE
:
:FINISH
ECHO Copy process complete
:
:DONE
SET TARGET=