home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Lion Share
/
lionsharecd.iso
/
utils_mz
/
v10n09.zip
/
CMD.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-12-07
|
459b
|
17 lines
@ECHO off
REM Create D:\BAT\CMDX.BAT, a batch file to repeat the command
REM contained in arguments #1 to #9.
IF [%1]==[] D:\BAT\CMDX
IF %1==? GOTO type
SHIFT
IF NOT [%9]==[] GOTO toomany
ECHO @ECHO OFF >D:\BAT\CMDX.BAT
ECHO %0 %1 %2 %3 %4 %5 %6 %7 %8 >>D:\BAT\CMDX.BAT
D:\BAT\CMDX.BAT
:toomany
ECHO CMD.BAT: only 9 arguments allowed.
:type
ECHO CMDX.BAT contains these two lines:
ECHO *================================*
TYPE D:\BAT\CMDX.BAT