I (still) don't understand this suggestion.We have the LOADLIST command which is used for example in our Everything GUI script.
The usage would be much simpler if we had a TC command line switch like
/list=path_to_listname.txt
This would completely eliminate the need for an View mode and the Auto Switch Mode.
In general scripting and deliver results to TC will be much easier.
To transfer search results from 'Everything' to Total Commander,
neither a 'View mode' nor an 'Auto Switch mode' are required.
In my opinion, it is sufficient to execute the compiled AHK script.
AHK-Script - Line 41 : DestinationFile = C:\totalcmd\EV-Results\EV-Results.txt (example!)
AHK-Script - Line 164 : Run %TotalCmd% /O /T /S LOADLIST:%DestinationFile%
Total Commander .....: %COMMANDER_EXE% /O /T /S LOADLIST:C:\totalcmd\EV-Results\EV-Results.txt
I subjected the compiled AHK script to a hard test test under various conditions - with the following result:
- Search query directly in 'Everything': files: (approx. 600,000 files)
- Compiled AHK script - name: SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A).exe
- After approx. 4 or 4.5 minutes I received this message, which caused a cancellation:The file "C:\totalcmd\EV-Results\EV-Results.txt" was written, but it contained 38 files instead of approx. 600,000 files.
Memory limit reached --- SEND_EV-RESULTS_to_TC-panel_(A)_CloseEverything-0_TAB-Search_result_(A).exe
fullContent .= full "`n" ... is located in line 154 and not in line 124.Code:
Error: Memory limit reached (see #MaxMem in the help file).Line#--->124: fullContent .= full ""The current thread will exit.
- RAM consumption: max 28%
with approx. 40,000 files and 5,500 folders takes only a few seconds.
Approx. 200,000 files and approx. 20,000 folders were also transferred without any problems (approx. 1.5 minutes) from EV to TC.
For comparison, a search query in Total Commander using 'Everything':
- ev:files: (approx. 600,000 files)
Approx. 1 minute, 40 seconds until the result is displayed in Total Commander (not cached!). - Button "Feed to listbox": Approx. 25 seconds until the result has been transferred.
- RAM consumption: max 26%
Windows 11 Pro (x64) Version 23H2 (OS Build 22631.3958) - Latest revision date: 2024-07-25
https://aka.ms/Windows11/ReleaseInfo
; https://learn.microsoft.com/en-us/windows/release-health/windows11-release-information
; https://learn.microsoft.com/en-us/windows/release-health/windows11-release-information
Code:
Sources msinfo32.exe (System Information), Windows logo key + Pause key (System > About), Search: winver[.exe].OS NameMicrosoft Windows 11 ProVersion10.0.22631 OS Build 22631ProcessorIntel(R) Core(TM) i5-12600K 12th Gen, 3.70 GHz, 10 Cores, 16 Logical ProcessorsInstalled RAM32.0 GB (22.9 GB usable)System type64-bit operating system, x64-based processorEditionWindows 11 ProVersion23H2Installed on05/10/2022OS Build22631.3958ExperienceWindows Feature Experience Pack 1000.22700.1026.0
Total Commander 11.03 (x64) | Everything 1.5.0.1383a (x64)
Statistics: Posted by tuska — 2024-07-29, 13:43 UTC