home *** CD-ROM | disk | FTP | other *** search
- echo off
- IF !%1==! GOTO HELP
- IF !%2==! GOTO HELP
- FOR %%H IN (%2) DO echo %1 %%H %3 %4 %5 %6 %7 %8 %9
- GOTO END
- :HELP
- ECHO SYNTAX--: DOFILES [DOS command] [Filespec] [Redirect] [output]
- ECHO USAGE---: Writes .BAT code wedding [command] to [Filespec]
- ECHO
- ECHO SAMPLE SEQUENCES: DOFILES BAT2EXEC *.BAT [Redirect] Compile.bat
- ECHO DOFILES LZEXE *.COM
- ECHO
- ECHO Only one filespec with wildcards is supported.
- :END
-