Open TC with file list?
Moderators: Hacker, petermad, Stefan2, white
Open TC with file list?
Is it possible to open TC with a file list via the command line?
For example:
totalcmd.exe /FL=c:\filetolist.txt
Where filetolist.txt contains a list of files.
I looked in the help file but could not find any info about it.
Thanks in advance.
.B
For example:
totalcmd.exe /FL=c:\filetolist.txt
Where filetolist.txt contains a list of files.
I looked in the help file but could not find any info about it.
Thanks in advance.
.B
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You could use a packer plugin like diskdir or diskdir extended, create a list file with it, and then pass that to TC as a parameter.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I tried using the DistDirExtended plugin to open a file list - it works but not as I wanted.
DiskDirExtended opens lists as a hierarchical structure (files within folders) and not as a plain file list like when adding a search result to panels within TC ("Feed to listbox" button in TC search).
Example, if I have the following items in a LST file:
c:\Folder1\Some file A.txt
c:\Folder1\Some file B.txt
c:\Folder1\Some file C.txt
c:\Folder2\Some file D.txt
c:\Folder2\Some file E.txt
c:\Folder2\Some file F.txt
TC opens it as a structure with Folder1 and Folder2 in the root with two files in each - and not showing the files a plain list without folders.
Is there a way to force this functionality with TC and/or DiskDirExtended or other plugin?
DiskDirExtended opens lists as a hierarchical structure (files within folders) and not as a plain file list like when adding a search result to panels within TC ("Feed to listbox" button in TC search).
Example, if I have the following items in a LST file:
c:\Folder1\Some file A.txt
c:\Folder1\Some file B.txt
c:\Folder1\Some file C.txt
c:\Folder2\Some file D.txt
c:\Folder2\Some file E.txt
c:\Folder2\Some file F.txt
TC opens it as a structure with Folder1 and Folder2 in the root with two files in each - and not showing the files a plain list without folders.
Is there a way to force this functionality with TC and/or DiskDirExtended or other plugin?
Thanks but still not what I am looking for 
I want the files to be listed as described above (a plain file list which TC aparently allready is able to do via the search dialog) and not as a LST pseudo-archive.
The DiskDir/DiskDirExtended method is very limited since the list is treated as a archive and viewing/opening files are first unpacked (=moved to temp directory from original location) instead of just opening the existing files. For large files, this is useless for me.
I basicly need to be able to delete/copy/move/view files just like normal files in a TC list.
Unless there is a real solution I have overlooked, consider this a feature request

I want the files to be listed as described above (a plain file list which TC aparently allready is able to do via the search dialog) and not as a LST pseudo-archive.
The DiskDir/DiskDirExtended method is very limited since the list is treated as a archive and viewing/opening files are first unpacked (=moved to temp directory from original location) instead of just opening the existing files. For large files, this is useless for me.
I basicly need to be able to delete/copy/move/view files just like normal files in a TC list.
Unless there is a real solution I have overlooked, consider this a feature request

Re: Open TC with file list?
I want to join this feature request. Ich have excatly the same need: i have a list of files, generated by unix' file command, and want to show these files inside Totalcommander, the same way, as if TC had found them and "fed to listbox". That way, I could preview them with Strg+Q, move, delete them...
Is there any progress or workaround in the meantime?
If someone asks, why not find the files with total commander? Because they are remote and I must generate the list on the remote headless machine, otherwise it takes very long.
Is there any progress or workaround in the meantime?
If someone asks, why not find the files with total commander? Because they are remote and I must generate the list on the remote headless machine, otherwise it takes very long.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Open TC with file list?
This is supported since Total Commander 10.52:
C:\PATH\TOTALCMD.EXE LOADLIST:c:\path\listfile.txt
The list file must contain one file name per line, either an absolute path, or relative to the list file location.
C:\PATH\TOTALCMD.EXE LOADLIST:c:\path\listfile.txt
The list file must contain one file name per line, either an absolute path, or relative to the list file location.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Open TC with file list?
Try it with this button:
- OR -
%COMMANDER_EXE% /O /T /S LOADLIST:"C:\My Test\FileToList.txt"
Note "" for space(s).
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_EXE% /O /T /S LOADLIST:C:\FileToList.txt
wciconex.dll,3
%COMMANDER_EXE% /O /T /S LOADLIST:C:\FileToList.txt|https://www.ghisler.ch/board/viewtopic.php?t=29837|Open TC with file list?|Output on separate tab "Search result:" ("Feed to listbox")
-1
%COMMANDER_EXE% /O /T /S LOADLIST:"C:\My Test\FileToList.txt"
Note "" for space(s).
Create a Button in the Buttonbar (copy/paste CODE)
- Click on "SELECT ALL" (to the right of CODE:), then press CTRL+C (copy to clipboard).
- Right-click on any place in the button bar, then click on "Paste".
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺ - Option1: Point to the new button (slightly longer): 'Tooltip' is shown (-> description to the button).
A maximum of 259 characters is allowed for the tooltip. | = create line break, || = create | as separator character. - Option2: Button bar - "Tooltip" field: A single space deactivates the display of the tooltip.
If the "Tooltip" field is empty, the content of the "Command" field is displayed. - Option3: See FAQs and explanation: Button-code (TOTALCMD#BAR#DATA) <-- <Ctrl+click on the link...>
C:\FileToList.txt
Code: Select all
C:\Folder1\Some file A.txt
C:\Folder1\Some file B.txt
C:\Folder1\Some file C.txt
C:\Folder2\Some file D.txt
C:\Folder2\Some file E.txt
C:\Folder2\Some file F.txt
HISTORY.TXT wrote:10.03.21 Release Total Commander 10.00 public beta 1
01.11.20 Added: New internal command LOADLIST listfilename loads list of files/folders from text file.
There must be one name per line. If no path is provided, the current directory is assumed.
File details are retrieved automatically (32/64)