home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR3
/
FFG153.ZIP
/
DEMOBAT.ZIP
/
RUNTREE.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-11
|
734b
|
21 lines
@echo off
cls
echo Here is a demonstration of FFG's ability to execute commands for each
echo found file using the '/e' option. In this demo FFG will search for the
echo DOS program TREE.COM and execute it. You will be prompted before the
echo program is executed.
echo.
echo (Of course, this program is most likely in your DOS search path so you
echo wouldn't need to use FFG to go find and execute it, but it is used to
echo illustrate the option.)
echo.
echo Press any key to begin searching...
pause >nul
rem Note that double %%'s are required because the DOS batch file interpreter
rem removes one of them.
echo on
ffg *:tree.com /e
@echo off
echo Done. Press any key for next demonstration...
pause>nul