%TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

User avatar
tuska
Power Member
Power Member
Posts: 4202
Joined: 2007-05-21, 12:17 UTC

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *tuska »

'Everything' and Total Commander started as user.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Search query in 'Everything'

Code: Select all

c: windows\*.pf
369 items (369 files, 0 folders)
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Transfer search results from 'Everything' to Total Commander with the AHK script

Code: Select all

Run %TotalCmd% /O /T /S LOADLIST:%DestinationFile%
C:\totalcmd\EV-Results\EV-Results.txt
369 files
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Transfer search results from 'Everything' to Total Commander by exporting them in 'Everything'
(file type: EFU 'Everything' File List (*.efu))

Code: Select all

Everything -> Ctrl+S
C:\totalcmd\EV-Results\EV-Results.efu
Filename,...
369 files
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Loading the search result file list in
Total Commander
*** NOT POSSIBLE ***

Code: Select all

%COMMANDER_EXE% /O /T /S LOADLIST:%COMMANDER_PATH%\EV-Results\EV-Results.txt
'Everything'
Double-clicking on the file C:\totalcmd\EV-Results\EV-Results.efu opens the file in 'Everything' 1.5a in a new tab. ✅
“Everything” can handle a file list containing file names from C:\Windows.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Why can't Total Commander load the search results in the 'EV-Results.txt' file [in a separate tab]
when using the LOADLIST command
,

- even though a search in Total Commander as a user with: ev:c: windows\*.pf returns 369 files
  and this can be displayed in a separate tab by pressing Shift + Feed to listbox
- even though an import is possible in 'Everything' (Import .EFU file)?

Would it not be possible to add this feature to the LOADLIST command?
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7205
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *Horst.Epp »

2tuska
Your search doesn't find any files.
You have to search for
c: windows\prefetch\*.pf
to get any .pf files

The reason why TC cant show the list is already explained in this thread.
TC needs enhanced rights to get to the real files under Windows\prefetch.
It does not simply show the content of the results file.
Everything search works as the service provides the necessary rights.

Using an enhanced TC will therefore work.
Windows 11 Home, Version 25H2 (OS Build 26200.7019)
TC 11.56 x64 / x86
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99
QAP 12.0 x64
User avatar
tuska
Power Member
Power Member
Posts: 4202
Joined: 2007-05-21, 12:17 UTC

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *tuska »

Horst.Epp wrote: 2025-09-14, 08:23 UTC 2tuska
Your search doesn't find any files.
You have to search for
c: windows\prefetch\*.pf
to get any .pf files
No.

But that was the crucial clue for me:
Total Commander (started as user) knows the paths and file names and can display them via:
ev:C:\Windows\Prefetch\*.pf (✅ Everything Service), Shift + Feed to listbox.

However, if you want to go to the file with Ctrl+left/right in TC, this is not possible because
without administrative rights in TC, you can only position the cursor on the C:\Windows\Prefetch\ folder.

Thank you!
User avatar
tuska
Power Member
Power Member
Posts: 4202
Joined: 2007-05-21, 12:17 UTC

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *tuska »

ghisler(Author) wrote: 2025-09-09, 08:20 UTC When using LOADLIST, ...

When searching in c:\windows, for example for *.pf, Total Commander will:
...
2. Will find files in C:\Windows\Prefetch\ if "Everything" is checked AND it returns the size and timestamp of the files.
AntonyD wrote: 2025-09-12, 08:17 UTC It just should raise as the final action a Dialog - where problems (if they would occur during the command LOADLIST execution)
will be in details precisely described.
...
Perhaps a message could be displayed in the search results as shown in this image  :?:
(The query in ‘Everything’ was as follows: C:\windows\*.pf).

Search query in 'Everything':    c:\windows\prefetch ext:pf
The AHK script creates the file C:\totalcmd\EV-Results\EV-Results.txt with a list of files with the file extension .pf

AHK script
- Line  41: DestinationFile = C:\totalcmd\EV-Results\EV-Results.txt
- Line 164: Run %TotalCmd% /O /T /S LOADLIST:%DestinationFile%
(I tried using LOADSEARCH in the AHK script, but unfortunately without success).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 51386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *ghisler(Author) »

Since this isn't a bug, I'm moving this thread to "will not be changed".
As I explained above, TC gets the file sizes, timestamps and attributes of the files in the list before displaying them. Since it cannot access the "Prefetch" folder, it doesn't display files from it.

Moderator message from: ghisler(Author) » 2025-10-12, 07:50 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1742
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *AntonyD »

2ghisler(Author)
Are you joking so subtly? Spending so much time in vain and just like that moving a bug to an unrelated section????

Did you really read and understand - the very ESSENCE of the error I was trying to convey to you?

There is NO problem with files not getting into the panel due to lack of permission! this fact IS NOT a bug!
THERE IS a user interaction bug! When I generate a load-file with a list of files, I EXPECT that all of them will EITHER be shown
OR not be shown (because of lack of permissions at least) - but THERE WILL BE information dialog about this fact at the end of
the command LOADLIST:%DestinationFile% execution!!!!

Yes - in the very first post, I just didn't know about the lack of permissions to read files/directories. But we quickly realized it.
And instantly from this perspective, the bug became a bug specifically related to user interaction with Total Commander!

So finally it would be wise to just raise as the final action a Dialog - where problems (IF they would occur during the command
LOADLIST execution) will be in details precisely described.
Like: "In file we have a record .... bla-bla-bla. But we can' access this file/folder on a disk/in a path. Pls. pay attention on this, dear user!"
And so on.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 51386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *ghisler(Author) »

Why should there be an information dialog? If Total Commander cannot "see" some files, it will not show them, independent of whether Everything is checked or not.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1742
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *AntonyD »

I'm surprised that I need to explain this.
This is a very specific command that is executed automatically based on the data provided by the USER!
This is not about the constant and direct interaction between the user and the GUIs of the Total window,
as if the users were to decide to do this on their own, based on the essence of this command. This is different!

When the users see the search process and the results right here & right now, they can make their own decisions about the next steps.
And when the LOADLIST command is executed, the user is simply WAITING for the appearance of everything that he either added himself
or by other means to this list... User no longer thinks in terms of "whether he's lucky enough to find it or not, there will be problems or not."
The user HAS ALREADY SEEN this list. Just unlike interacting with the GUI, he saw it in the file editor/Lister. By viewing this list there.
And in Total, he just expects to quickly see its functional rendering for its further quickly processing.
And expects to see it verbatim on screen :cry: and that's all!
The user SHOULD be warned that his list MAY suddenly contain unsupported items!
#146217 personal license
User avatar
tuska
Power Member
Power Member
Posts: 4202
Joined: 2007-05-21, 12:17 UTC

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *tuska »

Checking search results between Total Commander and Everything after using an AHK script seems more important than ever.

Here's a method that allows you to perform a file comparison of a Total Commander search result
and an Everything search result - after executing the AHK script --> in Everything 1.5.
User avatar
AntonyD
Power Member
Power Member
Posts: 1742
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: %TotalCmd% /O /T /S LOADLIST:%DestinationFile% ====> Total again does not see some files

Post by *AntonyD »

Wow! I am pleasantly surprised by such an opportunity! Truly, this tool has unlimited possibilities!
Thank you for the new and useful information! Excellent work!
#146217 personal license
Post Reply