Selection from a buffer or file does not work.

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

NotNull
Senior Member
Senior Member
Posts: 266
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Selection from a buffer or file does not work.

Post by *NotNull »

That is also a possibility .. I interpreted it as "a folder with many sub-folders"

So instructions if you want to search for the filenames everywhere (multiple folders, disks, etc:
  • In Total Commander, browse to the textfile that contains the filenames and highlight it.
  • Click on "the other button"
  • Everything will open with all matches
  • Ctrl-C/Ctr-V or drag/drop the files to a folder in TC.
  • Done


"The other button" ;)

Code: Select all

TOTALCMD#BAR#DATA
"C:\Program Files\Everything\Everything.exe"
-filter Everything -search-file-list %P%N
C:\Program Files\Everything\Everything.exe
Search for a list of files anywhere
C:\Program Files\Everything\

-1
User avatar
MARK2580
Junior Member
Junior Member
Posts: 43
Joined: 2016-07-01, 07:31 UTC
Location: Russia. Kirov

Re: Selection from a buffer or file does not work.

Post by *MARK2580 »

NotNull wrote: 2021-03-04, 18:41 UTC I am really curious if the 'fake files' method is faster?
They just wrote me a cmd file that generates fake files from my list) It is not difficult to hang it on the TC panel and use it with %P%N. :mrgreen:
Spoiler

Code: Select all

@echo off
cd /d %~dp0
set filelist="%~1"
set filelistpath="%~dp1"
echo %filelist%
echo %filelistpath%
for /f "tokens=*" %%a in ('type %filelist%') do echo %%a
for /f %%a in ('type %filelist%') do echo %%a >%filelistpath%\%%~nxa
NotNull wrote: 2021-03-04, 19:34 UTC That is also a possibility .. I interpreted it as "a folder with many sub-folders"

So instructions if you want to search for the filenames everywhere (multiple folders, disks, etc:
  • In Total Commander, browse to the textfile that contains the filenames and highlight it.
  • Click on "the other button"
  • Everything will open with all matches
  • Ctrl-C/Ctr-V or drag/drop the files to a folder in TC.
  • Done


"The other button" ;)

Code: Select all

TOTALCMD#BAR#DATA
"C:\Program Files\Everything\Everything.exe"
-filter Everything -search-file-list %P%N
C:\Program Files\Everything\Everything.exe
Search for a list of files anywhere
C:\Program Files\Everything\

-1
Hmm, not a bad button ... Maybe I'll try to make friends with this program again. The first time I tried to use this program, when I needed to search for files every day in one folder where there are 160,000 files and 23,000 folders, TC did it very slowly. And I did not understand how to create a permanent database in Everything that will be used to search in this folder and deleted it.
Win 10x64 / TC 11.01 x64 / Ryzen 5 3600 / GTX 3060 12gb / 32gb RAM
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: Selection from a buffer or file does not work.

Post by *tuska »

MARK2580 wrote: 2021-03-04, 22:52 UTC The first time I tried to use this program, when I needed to search for files every day in one folder where there are 160,000 files and 23,000 folders,
TC did it very slowly.
If the search in 'Everything' takes a long time, it is often due to this setting, which should be avoided(!):

Code: Select all

[✓] Run as administrator
[✓] Everything Service
Maybe this hints will help:
Search queries in TC using 'Everything'
2. TC Parameter --> ev: wrote: "However, the search is only carried out in those drives/folders that have been defined accordingly in the 'Everything' settings,
i.e. under menu "Tools" - "Options..."
- Indexes: NTFS (Local volumes) - ☑ Include in database,... (Hard disks + USB drives: NTFS formatted)
- Indexes: Folders - ☑ Attempt to monitor changes, ◉ Update (e.g. network folders, USB drives[FAT32,...], etc.*))
- Indexes: NTFS https://www.voidtools.com/support/everything/everything_service/
- Indexes: Folders https://www.voidtools.com/support/everything/folder_indexing/

*) etc. means in this case: Drives that are not NTFS formatted."

If 'Everything' is checked - without the prefix ev: - then the search criteria of TC (with the support of 'Everything') apply,
i.e. you still get the search result much faster than if 'Everything' is not checked.
PS: Thanks for sharing the cmd file! :)
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Selection from a buffer or file does not work.

Post by *petermad »

2MARK2580
Maybe I'll try to make friends with this program again. The first time I tried to use this program, when I needed to search for files every day in one folder where there are 160,000 files and 23,000 folders, TC did it very slowly. And I did not understand how to create a permanent database in Everything that will be used to search in this folder and deleted it.
Maby the screenshots in this post can help you: https://ghisler.ch/board/viewtopic.php?p=365262#p365262
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MARK2580
Junior Member
Junior Member
Posts: 43
Joined: 2016-07-01, 07:31 UTC
Location: Russia. Kirov

Re: Selection from a buffer or file does not work.

Post by *MARK2580 »

petermad wrote: 2021-03-05, 11:24 UTC Maby the screenshots in this post can help you: https://ghisler.ch/board/viewtopic.php?p=365262#p365262
Can you briefly? Those. this program constantly hangs in memory and monitors all operations with files, create some kind of database? Is it because of this that she searches quickly? From the beginning, I tried to set up file indexing in windows itself, but it did not give any results.

And another question: how (in the program itself) to search for a file in a specific directory, and not on the entire device? Or it is only possible with the TC search box.

udp: What are the weird files in the search results ?
Spoiler
Last edited by MARK2580 on 2021-03-05, 18:05 UTC, edited 1 time in total.
Win 10x64 / TC 11.01 x64 / Ryzen 5 3600 / GTX 3060 12gb / 32gb RAM
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: Selection from a buffer or file does not work.

Post by *tuska »

Here are my most important settings (Picture 2) regarding 'Everything' - I use the programme portable on Systemdrive C: (!):

PICTURES:
Picture 1 - SEARCH:  In Total Commander with integration of 'Everything'  -> Click on the image above to enlarge it
                 (Created/Last update: 08.01.2021)
Picture 2 - SETTINGS: For 'Everything' in Total Commander & 'Everything'  -> Click on the image on the far left to enlarge it,
                 (Created/Last update: 12.03.2021)                                                        (clickable Internetlinks below...) | Basis: 'Everything' 1.4
Picture 2 - Important/useful SETTINGS for Everything in TC and Everything -> Internetlinks | Settings
PIC No.LinksRemarks
   11.1 https://www.voidtools.com/support/everything/installing_everything/
 
1.2 https://www.voidtools.com/support/everything/multiple_instances/
1.3 https://ghisler.ch/board/viewtopic.php?p=354504#p354504 < CTRL+click
1.4 https://ghisler.ch/board/viewtopic.php?p=354530#p354530 < CTRL+click
INSTALLING 'Everything'
 
MULTIPLE INSTANCES - 'Everything'
- Example -> up from here...
- Example -> up to and including here.
1.5 https://www.voidtools.com/support/everything/everything_service/EVERYTHING SERVICE; see also note below...
1.6 https://www.voidtools.com/forum/viewtopic.php?f=4&t=6870
      Installations on the SYSTEM DRIVE, e.g. C:\ RECOMMENDED! .......  <--->
EVERYTHING SERVICE [crashes] | Time-out on Windows start
[✓] Start Everything on system startup

IMPORTANT:
When starting 'Everything', the system drive, e.g. C:\ is ALWAYS accessed first
and there are two solutions to get NO unexpected crashes(!) with 'Everything'
concerning the 'Everything Service':
1. Move programme files to system drive C:, e.g. C:\Tools\Everything or C:\Everything
2. Switch OFF hibernation.
   Admin-DOS: powercfg -h off
   (PC can then no longer be started with the space bar).
1.7 https://ghisler.ch/board/viewtopic.php?f=3&t=56800 < CTRL+clickURL protocol - Point "12. Button in web browser (Firefox, EDGE)" | Mark a text in the web browser,
then click on the BUTTON in the WEB BROWSER -> SEARCH in 'Everything'!
   22.1 https://www.voidtools.com/forum/viewtopic.php?f=5&t=6690
2.2 https://www.voidtools.com/forum/viewtopic.php?f=5&t=9563
2.3 https://www.voidtools.com/forum/viewtopic.php?p=35181#p35181
2.4 https://www.voidtools.com/support/everything/options/
Match whole filename when using wildcards
Operator precedence - Example 1/2: OR > AND (default), AND > OR
Operator precedence - Example 2/2: 'Grouping' < > to override operator precedence
OPTIONS - (Everything Options with explanatory notes)
 3,4,5     https://www.voidtools.com/forum/viewtopic.php?p=31555#p31555CONTEXT MENU entries in 'Everything'
   66.1 https://www.voidtools.com/forum/viewtopic.php?p=28416#p28416

6.2 https://www.voidtools.com/support/everything/options/#run_in_background
6.3 https://www.voidtools.com/forum/viewtopic.php?f=4&t=5989
KEYBOARD SHORTCUT to "Everything-Search this current folder" –
Everything.ini: hotkey_explorer_path_search=1
'Everything' RUN IN BACKGROUND
CTRL+F11 - Provide GLOBAL HOTKEY for search in current folder (German: STRG+F11)
   77.1 https://www.voidtools.com/forum/viewtopic.php?f=4&t=6870
7.2 https://www.voidtools.com/forum/viewtopic.php?p=19891#p19891
'Everything': PORTABLE, on SYSTEMDRIVE(!), e.g. C: in C:\Tools\Everything (see above: PIC 1 1.6);
DATABASE LOCATION ... can just be blank
  1010.1 https://www.voidtools.com/support/everything/folder_indexing/
10.2 https://www.voidtools.com/forum/viewtopic.php?p=20371#p20371
FOLDER INDEXING
Using voidtools in the workplace
  1111.1 https://www.voidtools.com/support/everything/file_lists/
11.2 https://www.voidtools.com/forum/viewtopic.php?f=2&t=6393
FILE LISTS
File Lists are recommended for DVDs.
  14       https://ghisler.com/history.txtTotal Commander - HISTORY.TXT
Last edited by tuska on 2021-03-12, 15:29 UTC, edited 3 times in total.
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: Selection from a buffer or file does not work.

Post by *tuska »

2MARK2580
Indexing 4 internal drives and approx. 1.1 million entries in 'Everything' takes <5 seconds for me,
when I recreate the index (Everything.db) with "Force Rebuild". Probably the indexing takes longer the very first time.
MARK2580 wrote:And another question: how (in the program itself) to search for a file in a specific directory, and not on the entire device?
Or it is only possible with the TC search box.
No.

'Everything' Search box:

Code: Select all

C:\Tools\Everything\ searchword (replace "searchword" with your search term - watch out for the space between path and search word)
C:\Tools\Everything\Everything.ini   OR e.g.
"C:\Tools\Everything\Toolbar in the Taskbar\Migration\Everything Toolbar in the Taskbar.txt"  <- blanks, then use "" quotes
Button in TC, e.g. (path to Everything.exe must be adjusted) - copy/paste the code to your buttonbar...

Code: Select all

TOTALCMD#BAR#DATA
C:\Tools\Everything\Everything.exe -parentpath
%V
C:\Tools\Everything\Everything.exe
Open PARENT PATH\*.* [.. F2] (INCLUDING SUBDIRECTORIES) of TC in Everything (-parentpath)|Cursor position doesn't matter!|https://www.voidtools.com/support/everything/command_line_options/|https://www.voidtools.com/support/everything/searching/
C:\Tools\Everything\
0
-1
MARK2580 wrote:udp: another question, why does Everything show up in search results ?
With this setting, the behaviour should be solved?

Code: Select all

Menu "Tools" -> Options... -> "Results" -> [✓] Hide results when the search is empty
In my opinion, we are now digressing a bit too much from the actual topic (file lists).
Questions about 'Everything' should be dealt with in a separate topic.
User avatar
MARK2580
Junior Member
Junior Member
Posts: 43
Joined: 2016-07-01, 07:31 UTC
Location: Russia. Kirov

Re: Selection from a buffer or file does not work.

Post by *MARK2580 »

tuska wrote: 2021-03-05, 17:48 UTC In my opinion, we are now digressing a bit too much from the actual topic (file lists).
Questions about 'Everything' should be dealt with in a separate topic.
I agree :mrgreen:
Thanks for the detailed descriptions, I will read them later, unfortunately my native language is Russian and I will have to translate all this from the beginning, and then try to understand it.
Win 10x64 / TC 11.01 x64 / Ryzen 5 3600 / GTX 3060 12gb / 32gb RAM
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: Selection from a buffer or file does not work.

Post by *tuska »

MARK2580 wrote: 2021-03-05, 18:10 UTC
tuska wrote: 2021-03-05, 17:48 UTC In my opinion, we are now digressing a bit too much from the actual topic (file lists).
Questions about 'Everything' should be dealt with in a separate topic.
I agree :mrgreen:
Thanks for the detailed descriptions, I will read them later, unfortunately my native language is Russian and I will have to translate all this from the beginning, and then try to understand it.
The same goes for me (English is not my native language).
I also have the text translated :?
NotNull
Senior Member
Senior Member
Posts: 266
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Selection from a buffer or file does not work.

Post by *NotNull »

MARK2580 wrote: 2021-03-05, 15:48 UTC Can you briefly? Those. this program constantly hangs in memory and monitors all operations with files, create some kind of database? Is it because of this that she searches quickly?
Exactly! And Everything does this very resource friendly, so you will not notice. That makes searches quick. Although: "quick" is not the right word. Try for yourself ;)

And another question: how (in the program itself) to search for a file in a specific directory, and not on the entire device? Or it is only possible with the TC search box.
In Everything: search for:

Code: Select all

"C:\my folder\"  "some file"
You don't have to type entire names. This would work too

Code: Select all

folder\  "ome fi"
The "" are not necessary when names dont have spaces in them.


But @tuska is right: this is getting off topic. But you can always post your questions on the Everything forum ..
Post Reply