Declined @ffind[] function.


Jul 6, 2008
As Charles stated in another thread:
add @ffind[] function. search sub-directories like the FFIND command does.

This evolved from the recent request for the addition, optional parameters to @search to include sub-directories with the supplied path @search[program....] The other thread provides additional information that I will not repeat here. One major difference I should point out is that @search[] assumes it's locating a program, with or without extension, and this new function would require a switch or something to make that assumption.
May 20, 2008
Syracuse, NY, USA
v:\> function ffind `%@execstr[ffind /s /k /m /f %2\%1]`

v:\> echo %@ffind[tcc.exe,g:\]

v:\> echo %@ffind[tcc.exe,g:\tc21]

v:\> echo %@ffind[tcc.exe;4nt.exe,g:\]

v:\> echo %@ffind[tcc.exe;4nt.exe,g:\tc17]
May 20, 2008
Syracuse, NY, USA
Sure! It's eminently customizable. I don't think I used @SEARCH (in ~25 years or however long it has been around) before this week.. So I won't lobby for an @FFIND. If I needed such a thing, I'd make a user-defined function and, in a few weeks or months, discover it and delete it.
Similar threads
Thread starter Title Forum Replies Date
vefatica FFIND and code page? Suggestions 22
Joe Caverly Declined Update FFIND in Help File with example for ORing expressions to search for Suggestions 6
Kachupp Please have FFIND / TPIPE access stream:names Suggestions 2
M Done Parameter to ignore [Escape] for FFIND /T"XXX" in a file Suggestions 5
R ffind /= and command line Suggestions 0
R Done enable ffind to use @filelist Suggestions 1
vefatica Done Some /Q(uiet) options for FFIND Suggestions 1
R Done Starting folder for ffind /s Suggestions 9
Roedy Done Enhanced FFIND Suggestions 1
R Done ffind /W with also attribute selection? Suggestions 2
M Declined Support for UTF-8 coded files in LIST and FFIND Suggestions 0
S Declined FFIND enhancements Suggestions 0
C proper function.... Suggestions 6
Joe Caverly Done Function that returns environment variable type Suggestions 1
Charles Dye @IPADDRESSV6 function Suggestions 1
R @BTWN[low number, high number] function Suggestions 0
mfarah Done pdir /(k) for the output of the @CKSUM function. Suggestions 0
E Done Support for IPv6 (ping function) Suggestions 5
Joe Caverly Done ISLIBRARY Conditional Expression Status Test and Function Suggestions 0
A @REALPATH variable function. Suggestions 0
K_Meinhard Done @dowi function Suggestions 2
R (Nearest) Weekday function Suggestions 4
N Done Add display options to new HASH function Suggestions 1
mfarah Done Posix 100.32 compliant %@cksum[] function. Suggestions 12
Joe Caverly Function that converts an expression into a date value Suggestions 0
mikea Done Function to create GUID Suggestions 13
S Declined Character / string classification function Suggestions 9
S Done Enhanced ALIAS, SET, ESET and FUNCTION commands Suggestions 0
M Done Enhancement to @PID function... Suggestions 4
M Declined Function to to verify file name validity... Suggestions 4
S Done Enhanced FUNCTION and ALIAS definition syntax Suggestions 0
S Done Window positioning commands and current position function Suggestions 0
S Declined Indirect function specification Suggestions 2
S Done Command and help enhancement, esp. ALIAS, FUNCTION and SET Suggestions 2
Charles Dye Done @PLUGINVER function Suggestions 0
Charles Dye Done v11 idea - Date picker function Suggestions 3

Similar threads