Find File (ff)

PillarSoft Utilities, Copyright 2003, PillarSoft

 


Description

Find File (ff) provides an easy to use command line interface for searching a drive or directory for any file or set of files using wildcards.

After a search is completed, any files located matching the "FileName" parameter are listed numerically. Up to ten files are listed per page of results. If more than ten files are found meeting the search criteria, they are numbered and listed in the order they are found. Pressing the "Enter" key will display each successive set of ten until the list is exhausted.

This utility is much like [dir *.txt /s] without the clutter.

 

Syntax

  ff FileName, Directory, Option

 

Parameters

Parameter
Data Type
Purpose
Value
Default
Required
FileName string Name of file to perform search on. May be filename only or a filename spec with wildcards. (example: *.txt   or   c:\apps\*.txt) N/A N/A Y
Directory string Directory to search in. May be with or without a trailing backslash. If no directory is entered, ff defaults to the current working directory and it's subdirectories. N/A Search current directory and it's subdirectories N
Option string /N is the only option available. The /N option tells ff not to recurse into subdirectories. by default, this option is off. (Default is to search the working directory and it's subdirectories) N/A Search current directory and it's subdirectories N

 

Notes

  1. When parameters include file name only, the current directory and subdirectories are searched by default.

  2. If any (including multiple) files matching the search pattern are found, they are listed by number. Press any number corresponding to any listed file to switch to the home directory of that particular file.

  3. Note that parameters are comma delimited.

 

Example(s)

 
Find all occurances of readme.txt in the current directory and it's subdirectories.

  ff readme.txt

 
Find all occurances of readme* in the d:\apps\utils\ directory and it's subdirectories.

  ff readme*, d:\apps\utils\

 
Find all occurances of *.ini in the C:\os2 directory only, no subdirectory search.

  ff *.ini, c:\os2, /N

 
Display syntax and mini command line help.

  ff ?
 


Copyright 2001 - 2003, PillarSoft
All Rights Reserved