Feed multiple files from EVERYTHING into TTC listbox
Moderators: white, Hacker, petermad, Stefan2
Feed multiple files from EVERYTHING into TTC listbox
Hi Beautful people ,
I knwo there are ways to open selected single file or folder from EVERYTHING in TTC.
Is it possile to feed multiple selelcted files from EVERYTHING into TTC listbox?
I knwo there are ways to open selected single file or folder from EVERYTHING in TTC.
Is it possile to feed multiple selelcted files from EVERYTHING into TTC listbox?
Re: Feed multiple files from EVERYTHING into TTC listbox
There are 2 main challenges with that:
[1] Everything sends multiple files through multiple commands to the target.
Simplified example: if you open 3 txt files, it will start 3 notepad's and not 1 notepad with 3 files.
[2]There is no command-line to start TC with an opened listbox or a command to fill this listbox (that I could find)
The first challenge can be worked around by using an intermediate program that collects all separate files and sends them "bundled" to the desired application (TC in this case), but I don't know a solution for the second one.
So I would say: not possible.
(would be a nice feature, though)
[1] Everything sends multiple files through multiple commands to the target.
Simplified example: if you open 3 txt files, it will start 3 notepad's and not 1 notepad with 3 files.
[2]There is no command-line to start TC with an opened listbox or a command to fill this listbox (that I could find)
The first challenge can be worked around by using an intermediate program that collects all separate files and sends them "bundled" to the desired application (TC in this case), but I don't know a solution for the second one.
So I would say: not possible.
(would be a nice feature, though)
Re: Feed multiple files from EVERYTHING into TTC listbox
Hi NotNull. Nice quick thoughts! thanks.
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Feed multiple files from EVERYTHING into TTC listbox
You can use the Everything syntax from within Total Commander by using the prefix ev: or ed:. The former doesn't restrict where to search, the second restricts the search to the start directory and its subdirs. For example,
ev:*.txt
will find text files everywhere on your harddisks.
ev:*.txt
will find text files everywhere on your harddisks.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Feed multiple files from EVERYTHING into TTC listbox
I left that option out as OP wanted selected files to appear in the listbox.
Using the ev: method all results would be shown in the listbox.
Using the ev: method all results would be shown in the listbox.
Re: Feed multiple files from EVERYTHING into TTC listbox
Hi ghisler,ghisler(Author) wrote: ↑2020-01-29, 17:15 UTC You can use the Everything syntax from within Total Commander by using the prefix ev: or ed:. The former doesn't restrict where to search, the second restricts the search to the start directory and its subdirs. For example,
ev:*.txt
will find text files everywhere on your harddisks.
is it possible to search a goup of directories ? it seems a alternative solution for my case. Regards.
Re: Feed multiple files from EVERYTHING into TTC listbox
Maybe a little awkward, but...
EDIT:
According to information by email of 3.2.2020 from the author the following is to be considered:
- Double entries in the search result: This can only occur if there are overlaps,
e.g. if you search in c:\windows and c:\windows\system32.
- Missing folders in search results: If you search in c:\windows, for example, the folder c:\windows itself will not be found.
Otherwise no folders should be missing!
But I would like to point out that in principle the search query in 'Everything' - as already mentioned above -
can be carried out directly in TC with 'Everything' parameters (see also my signature).
Windows 10 Pro (x64) Version 1909 (OS build 18363.628)
TC 9.50rc2 x64/x86 | 'Everything'-Version 1.4.1.963 (x64)
☑ 'Everything' | Search queries: TC <=> 'Everything'
Code: Select all
1. [Right click on [..] in TC, click on context menu entry "Search with Everything ..."
('Everything': Menu "Tools" - "Option..." - "General" - "☑ Show Search Everything folder context menu item")]
2. Search directly in 'Everything'
3. [Mark the search result with Ctrl+A; Individual search results (Ctrl+click,click): Not currently required!] *)
4. Menu "File" - "Export... CTRL+S"
5. File name: e.g. Test.txt -> Save -> (the file is saved with encoding "UTF-8" [see: Notepad++])
[If there are German umlauts in the file names (öäüÖÄÜ), then a different encoding is required - see: points 6. + 7.]
6. Open Test.txt e.g. with Notepad++ [right click on file ... "Edit with Notepad++"]
7. Click on the "Encoding" menu, then, for example, "Convert to UTF-8-BOM", press the "Save" button, menu "File" - "Close Ctrl+W"
Regarding the required coding: See F1-Help or help text below.
Code: Select all
8. Search in TC with ALT+Shift+F7
9. Enter the following in the "Search in:"-field: @C:\Path\To\Test.txt
10. Press button "Start search"
11. "Search results": Folders and files are displayed in TC
12. Press button "Feed to listbox"
Code: Select all
The following "problems" still exist at present:
*) In the search result of 'Everything' it is not possible to export only single search results,
instead, all displayed search results are exported.
It is therefore necessary if applicable to use suitable search parameters to export a further restricted search result
(e.g. with ... files:, folders:, exact: C:<Drive letter>, etc.)
** You may receive an error message in TC, provided that a hidden file exists, e.g. "descript.ion"
in the exported file "Test.txt" and is now accessed in the TC search:
"Search path not found!
Path\descript.ion"
However, if you show the hidden files beforehand, for example with a button with the command: cm_SwitchHidSys,
then this message is omitted.
Code: Select all
F1 Help
Search in separate process... Alt+Shift+F7 -> Find Files - click on button "Help" ---> Search in:
You can enter the name of a text file (ANSI, UTF-8 or UTF-16, the latter two with BOM) containing a list
of files and directories to be searched, in the form @c:\path\filelist.txt.
The file must contain one file/directory name per line, either an absolute path, or relative to the location of the list file.
The text file now also supports wildcards and regular expressions. The "Search for" field is ignored when searching from list.
According to information by email of 3.2.2020 from the author the following is to be considered:
- Double entries in the search result: This can only occur if there are overlaps,
e.g. if you search in c:\windows and c:\windows\system32.
- Missing folders in search results: If you search in c:\windows, for example, the folder c:\windows itself will not be found.
Otherwise no folders should be missing!
But I would like to point out that in principle the search query in 'Everything' - as already mentioned above -
can be carried out directly in TC with 'Everything' parameters (see also my signature).
Windows 10 Pro (x64) Version 1909 (OS build 18363.628)
TC 9.50rc2 x64/x86 | 'Everything'-Version 1.4.1.963 (x64)
☑ 'Everything' | Search queries: TC <=> 'Everything'
Last edited by tuska on 2020-02-03, 18:43 UTC, edited 1 time in total.
Re: Feed multiple files from EVERYTHING into TTC listbox
Yes.
In TC, e.g.
Code: Select all
ev:exact:folder:<Excel|Winword|Hardware|"MyPhoneExplorer for Android">
Code: Select all
exact:folder:<Excel|Winword|Hardware|"MyPhoneExplorer for Android">
Note: exact: is the same as modifier -> wfn:
Re: Feed multiple files from EVERYTHING into TTC listbox
Thanks! this one works. I will have a look the long solution. seems fun.tuska wrote: ↑2020-01-30, 19:23 UTCYes.
In TC, e.g.In EV, e.g.Code: Select all
ev:exact:folder:<Excel|Winword|Hardware|"MyPhoneExplorer for Android">
See: Menu "Help" - "Search Syntax" - OperatorsCode: Select all
exact:folder:<Excel|Winword|Hardware|"MyPhoneExplorer for Android">
Note: exact: is the same as modifier -> wfn:
Re: Feed multiple files from EVERYTHING into TTC listbox
I had a problem (Point 9. and 11.) withsunedin wrote:I will have a look the long solution. seems fun.
Code: Select all
"Search in:"-field: @C:\Path\To\Test.txt
I am already curious whether this problem occurs also with you.
Re: Feed multiple files from EVERYTHING into TTC listbox
Btw, I've added two more examples here, which deals with the search in file lists directly in 'Everything':
9. File list; Search in a text file (containing a list of files and directories to be searched),...
In particular, the "Example2"-'Everything' might be interesting for you - not only with regard to folders to be searched.
9. File list; Search in a text file (containing a list of files and directories to be searched),...
In particular, the "Example2"-'Everything' might be interesting for you - not only with regard to folders to be searched.
Re: Feed multiple files from EVERYTHING into TTC listbox
According to information by email of 3.2.2020 from the author the following is to be considered:tuska wrote: ↑2020-01-31, 15:13 UTCI had a problem (Point 9. and 11.) withsunedin wrote:I will have a look the long solution. seems fun.which I reported to the author by email on 30.1.Code: Select all
"Search in:"-field: @C:\Path\To\Test.txt
- Double entries in the search result: This can only occur if there are overlaps,
e.g. if you search in c:\windows and c:\windows\system32.
- Missing folders in search results: If you search in c:\windows, for example, the folder c:\windows itself will not be found.
Otherwise no folders should be missing!