home *** CD-ROM | disk | FTP | other *** search
- @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 hidden
- echo files and for each one found will run the DOS ATTRIB command to show the
- echo files attributes. Of course each found file should show the hidden
- echo attribute set.
- 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 *:* /ah /eATTRIB%%_%%n
- @echo off
- echo Done. Press any key for next demonstration...
- pause>nul
-