home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / FFG153.ZIP / DEMOBAT.ZIP / RUNATTRB.BAT < prev    next >
DOS Batch File  |  1993-06-11  |  627b  |  18 lines

  1. @echo off
  2. cls
  3. echo Here is a demonstration of FFG's ability to execute commands for each
  4. echo found file using the '/e' option.  In this demo FFG will search for hidden
  5. echo files and for each one found will run the DOS ATTRIB command to show the
  6. echo files attributes.  Of course each found file should show the hidden
  7. echo attribute set.
  8. echo.
  9. echo Press any key to begin searching...
  10. pause >nul
  11. rem  Note that double %%'s are required because the DOS batch file interpreter
  12. rem  removes one of them.
  13. echo on
  14. ffg *:* /ah /eATTRIB%%_%%n
  15. @echo off
  16. echo Done.  Press any key for next demonstration...
  17. pause>nul
  18.