home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / 4dcat10.zip / FINDFILE.BTM < prev    next >
Text File  |  1996-03-06  |  374b  |  15 lines

  1. : Finds a file with minimum match.
  2. : Example: findfile fil --> finds all filenames with the string 'fil' in it.
  3.  
  4. if "%1" == "" goto help
  5.  
  6. echo start
  7. fgrep -sxi6,18 "%1" database.txt
  8. echo -done-
  9. quit
  10.  
  11. :help
  12. echo Run %@name[%0] by giving a searchstring as the first parameter.
  13. echo example:  %@name[%0] auto  ` -->` finds the file autoexec.bat (hopefully)
  14. echo.
  15.