Hidden in this (German) forum thread was @Stefan2's observation that totalcmd.exe /S=F "searchtext" does open the "Find Files" dialog "stand-alone", but can only be used to fill the "Search In" field.
IS there somehow an option to fill the "Search For" as well as "Serarch In" field using this method? Or just the "Search In" field (without defining the "Search For" field)?
(other than defining a previous search 'through the backdoor'?)
'Search for' in standalone search
Moderators: Hacker, petermad, Stefan2, white
Re: 'Search for' in standalone search
If you use a button like this:
it works fully - all fields in the dialog can be filled out and the "Search in" field is prefilled with the current directory
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_EXE% /i="%COMMANDER_INI%" /S=F
%Z %P
wcmicons.dll,47
Find Files (separate instance)
0
-1
If you are talking about automatically filling the "Search for" from the command line, then it is not possible - but you can pass a saved search with the L parameter: /S=F:L<saved search name>To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: 'Search for' in standalone search
It's a pity that TCFS2 has a problem with sending messages to standalone windows.
Overquoting is evil! 👎
Re: 'Search for' in standalone search
That is exactly the point.
There was the request to use the search automated with "Search For" as parameter
%COMMANDER_EXE% /S=F <FOR: rolling stones>
%COMMANDER_EXE% /S=F <TEXT: beatles>
%COMMANDER_EXE% /S=F "c:\temp\mp5" <FOR: abba>
Re: 'Search for' in standalone search
Thanks!petermad wrote: 2023-02-08, 23:58 UTC If you are talking about automatically filling the "Search for" from the command line, then it is not possible - but you can pass a saved search with the L parameter: /S=F:L<saved search name>
(that is what I had in mind with "through the backdoor": add a saved search on the fly to the ini and use that)
Oh well ...