home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / FFG153.ZIP / DEMOBAT.ZIP / RUNTREE.BAT < prev    next >
DOS Batch File  |  1993-06-11  |  734b  |  21 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 the
  5. echo DOS program TREE.COM and execute it.  You will be prompted before the
  6. echo program is executed.
  7. echo.
  8. echo (Of course, this program is most likely in your DOS search path so you
  9. echo wouldn't need to use FFG to go find and execute it, but it is used to
  10. echo illustrate the option.)
  11. echo.
  12. echo Press any key to begin searching...
  13. pause >nul
  14. rem  Note that double %%'s are required because the DOS batch file interpreter
  15. rem  removes one of them.
  16. echo on
  17. ffg *:tree.com /e
  18. @echo off
  19. echo Done.  Press any key for next demonstration...
  20. pause>nul
  21.