home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
UT_SYSTM
/
FORDO.ZIP
/
FORDO.DOC
< prev
next >
Wrap
Text File
|
1993-12-20
|
767b
|
19 lines
This DOC file was prepared by Public (software) Library Tech Support
because we had trouble figuring out the program from the information given.
For more information or for a PsL catalog, call 713-524-6394.
FORDO is a utility for repeating a command for all files matching a file mask.
When you run FORDO, you are first prompted for a file mask. For test purposes,
enter FOR*.* (assuming the files from FORDO.ZIP are in the current directory).
When prompted for what to do, enter: TYPE %i
and press Enter.
FORDO will pass the command to DOS to TYPE all files matching the mask FOR*.*
which in this case should be FORDO.C and FORDO.EXE.
This is the equivalent of entering at the DOS prompt:
FOR %i IN (FOR*.*) DO TYPE %i