File Finder Pack Version 2.6 06-27-90 by Jim Derr Member of Association of Shareware Professionals CSERVE ID 76266,2634 Please note this is a shareware product. If you find these utilities useful please register and keep shareware alive. Only registered users will be supported. The fee is small and not unreasonable. FF2 FileFinder2 ---------------------------------------------------------------------- This program will find files on your hard disk. It as fashioned after the whereis program but has more features. Format is FF2 options [filespec filespec filespec....] options Where options are: /C comma delimited listing /R raw listing - full path name only /S short listing - filename.ext only /B list in bat file format /P pause when screen is full /Q quite mode /I also look inside archive files /A only look inside archive files /E Extended Directory Search /G Greater or Equal to mm-dd-yy /L Less or Equal to mm-dd-yy /1 stop after finding one file errorlevel 1 returned if no files found errorlevel 0 returned if files are found /Z[RHSA] Show files with specified attributes /X"cmd" execute a cmd against all files found The filespec's that are specified on the command line can include a disk and directory. If a disk and or directory is specified than the search will be restricted to the specified disk and directory and any sub-directories under the specified directory. Each filespec can contain different starting disks and directories. When specifing the file to search for FF2 has a quick complete algorithm. If you do not include a period in the file extension FF2 will expand the filespec using the wildcard character ? for the remainder of the filespec. For example if you entered FF2 AB, FF2 will expand the filespec to AB??????.???. If you enter FF2 C:\BAT\B FF2 will expand the filespec to C:\BAT\B???????.???. However if you enter FF2 B.* , FF2 will not alter the filespec since you included a period in the filespec. FF2 also has an expanded wild card search algorithm. If you include an * on both sides of the filename, FF2 will find all files that contain the characters entered between the *'s anywhere in the filename. For example: FF2 *inst* This will find all files that contain inst somewhere in the filename. I.E. D:\ANY\PINST.BAT C:\ONE\PCINSTAL.BAT C:\TWO\INSTALL.COM To find files with no extension include the period but no file extension. I.E. FF2 *me*. If no disk or directory is included with the filespec than all hard disks will be searched. FF2 now has the capability to automatically identify all hard disks on your system. You can over-ride this automatic detection by setting the environment variable FF to the disk letter your wish the search to be performed on. For example. SET FF=CD tells FF2 to search the C and D drives if you have not specified a disk in the filespec on the command line. All output from FF2 can be redirected or piped by using the DOS redirect and pipe characters. The default output produced by FF2 file-size, file-date, file-time, disk:\directory\filename.fileext. This can be changed by using the following command line options: /C Produces a comma delimited listing, this listing can be imported into most spreadsheet and database programs. /R Produces a raw listing containing disk:\directory\fn.ext only. /S Produces a short listing containg filename.ext only. /B Produces a listing that can be used as a bat file. The output is as follows: %1 filename.ext %2 %3 %4 %5 %6 %7 %8 %9 /P Will case a pause when the screen is full. /Q Quite mode no output produced but results can be tested by using the if errorlevel command in a .bat file. /I This option tells FF2 to also look inside any archive files for the indicated files. The archive files that are supported are ZIP, ARC, and LZH files. /A This option tells FF2 to ONLY look inside archive files for the indicated files. /1 This option tells FF2 to stop looking for files after it finds the first file that matches the specified pattern. /E To increase the file search process FF2 normally only looks for directories that do not contain a file extension. Using this option tells FF2 to also look for directories that contain directory names with extensions. /G This option allows you to limit the file search to files that have a filedate Greater than or Equal to the date specified. The format is /Gmm-dd-yy. I.E. /G01-01-90 or /G1-1-90 will list files that have a filedate greater than or equal to 1-1-90. (Note this option may be combined with the /L option to specify a date range) /L This option allows you to limit the file search to files that have a filedate Less than or Equal to the date specified. The format is /Lmm-dd-yy. I.E. /L01-01-90 or /L1-1-90 will list files that have a filedate less than or equal to 1-1-90. (Note this option may be combined with the /G option to specify a date range) /Z[RHSA] This option allows you to limit the file search to files that have specific attributes. For example, specifying /ZA will list files that have the archive attribute, /ZRH will list files that have the read-only attribute OR the hidden attribute set. ********************************************************** *PLEASE NOTE IF YOU SPECIFY THE /A OR /I OPTION THAN THIS* *OPTIONS IS IGNORED. * ********************************************************** /X"cmd" This options allows you to tell FF2 to execute a specified against all files that are found. For Example: /X"del &" will execute the delete command against all file that were found. The command can be any DOS command or another program. FF2 will insert the disk:\dir\fn.fext of the found file into the command where you place the & character. For example if you specify the following: /X"grep any & -s" and FF2 finds the file c:\data\any.doc it will execute the following command: grep any c:\data\any.doc -s If you do not put the & in then FF2 will insert the found filespec at the first blank in the command you specify, or at the end of the command if no blanks exist. FFF Fullscreen FileFinder ---------------------------------------------------------------------- This program will find files on your hard disk, and present them in a scrollable list. Format is FFF options [filespec filespec filespec....] options Where options are: /2 25 line mode display /4 43 line mode display /5 50 line mode display /d Search for dup files. (filename.ext only) /D Search for dup files. (filename.ext and file size) /E Extended Directory Search /G Greater or Equal to mm-dd-yy /L Less or Equal to mm-dd-yy /I also look inside archive files /A only look inside archive files (THE ARCHIVE FILES THAT ARE SUPPORTED ARE ZIP,ARC, AND LZH) /Z[RHSA] Show files with specified attributes /I This option tells FFF to also look inside any archive files for the indicated files. The archive files that are supported are ZIP, ARC, and LZH files. /A This option tells FFF to ONLY look inside archive files for the indicated files. /d This option tells FFF to search and display duplicate files. Only the filename.ext will be used to determine duplicates. /D This option is the same as the /d option except the filename.ext and file size will be used to determine if a file is a dup. /E To increase the file search process FFF normally only looks for directories that do not contain a file extension. Using this option tells FFF to also look for directories that contain directory names with extensions. /G This option allows you to limit the file search to files that have a filedate Greater than or Equal to the date specified. The format is /Gmm-dd-yy. I.E. /G01-01-90 or /G1-1-90 will list files that have a filedate greater than or equal to 1-1-90. (Note this option may be combined with the /L option to specify a date range) /L This option allows you to limit the file search to files that have a filedate Less than or Equal to the date specified. The format is /Lmm-dd-yy. I.E. /L01-01-90 or /L1-1-90 will list files that have a filedate less than or equal to 1-1-90. (Note this option may be combined with the /G option to specify a date range) /Z[RHSA] This option allows you to limit the file search to files that have specific attributes. For example, specifying /ZA will list files that have the archive attribute, /ZRH will list files that have the read-only attribute OR the hidden attribute set. ********************************************************** *PLEASE NOTE IF YOU SPECIFY THE /A OR /I OPTION THAN THIS* *OPTIONS IS IGNORED. * ********************************************************** The filespec's that are specified on the command line can include a disk and directory. If a disk and or directory is specified than the search will be restricted to the specified disk and directory and any sub-directories under the specified directory. Each filespec can contain different starting disks and directories. When specifing the file to search for FFF has a quick complete algorithm. If you do not include a period and the file extension FFF will expand the filespec using the wildcard character ? for the remainder of the filespec. For example if you entered FFF AB, FFF will expand the filespec to AB??????.???. If you enter FFF C:\BAT\B FFF will expand the filespec to C:\BAT\B???????.???. However if you enter FFF B.* , FFF will not alter the filespec since you included a period in the filespec. FFF also has an expanded wild card search algorithm. If you include an * on both sides of the filename, FFF will find all files that contain the characters entered between the *'s anywhere in the filename. For example: FFF *inst* This will find all files that contain inst somewhere in the filename. I.E. D:\ANY\PINST.BAT C:\ONE\PCINSTAL.BAT C:\TWO\INSTALL.COM To find files with no extension include the period but no file extension. I.E. FFF *me*. If no disk or directory is included with the filespec than all hard disks will be searched. FFF now has the capability to automatically identify all hard disks on your system. You can over-ride this automatic detection by setting the environment variable FF to the disk letter your wish the search to be performed on. For example. SET FF=CD tells FFF to search the C and D drives if you have not specified a disk in the filespec on the command line. FFF will display all the files it found, up to it's internal maximum of 3000 files, on the screen in a scrollable list. You can use the cursor keys, Pgup, Pgdn, HOME, END, CTL-HOME, and CTL-END to scroll the list. Pressing the ESC key will exit the program. HOT KEYS ENTER or RETURN Pressing the ENTER key will change the default disk and directory to the one that contains the file currently highlited on the screen. F1 F1 will display the help panel. F2 Pressing the F2 key allows you to run any program you wish against the currently highlited file. A window will pop-up in which you must enter program name that you wish to execute. The program can be a DOS internal program, i.e. del, rename, or any EXE, COM, or BAT file. The highlited filename is preloaded into the pop-up window for you. F3 F3 will delete the currently highlighted file. F4 F4 will delete all tagged files. F10 Pressing the F10 key will execute the program or BAT file currently highlited on the screen. Before the Progam is executed FFF will prompt you for any command line parameters that you want to pass to the program. It will then change to the disk and directory that the program is contained in, unload itself from memory and execute the program. T The T key will toggle the tagged status of the highlighted item. U The U key will untag all tagged items. MONOCHROME MONITORS If you are using a monochrome monitor and the screen does not appear correct set the environment variable MONO to a Y. I.E. SET MONO=Y.