Suggestion: EVERYTHING should have an option that works like the FFIND /S option. This can be done now by explicitly giving the path in the EVERYTHING argument, but an option would simplify using this.
Recursion (FFIND's /S) is the default. Keep in mind that EVERYTHING is very much unlike FFIND, EVERYTHING does not search for files (FindFirstFile, FindNextFile); it just filters a (big) list. I'm not sure whet EVERYTHING's /P does! To EVERYTHING, these two are the same.
I see. I use FFIND a lot also, buy rarely in the current directory.
This may not be well thought-out but a possible solution (for Rex) might be this: if the (any) search pattern does not contain a path (i.e., a '\'), prepend _CWDS to it. That wouldn't require a new switch. I wonder if that could be done with an alias or a BTM.
This may not be well thought-out but a possible solution (for Rex) might be this: if the (any) search pattern does not contain a path (i.e., a '\'), prepend _CWDS to it. That wouldn't require a new switch. I wonder if that could be done with an alias or a BTM.
:: ESEARCH.BTM - prepend _CWDS to search specs without a path
:: if /P appears, leave the next parameter alone
setlocal
unset /q args
do while %# GT 0
iff "%1" == "/P" then
set args=%args %1 %2
shift 2
iterate
endiff
iff %@index[%1,/] != -1 .or. %@index[%1,\] != -1 then
set args=%args %1
else
set args=%args %[_cwds]%1
endiff
shift
enddo
everything %args
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.