This is the simple example, there are 4 files
C:\Users\YXF\Desktop\1\1\1.TXT
C:\Users\YXF\Desktop\1\1\2.TXT
C:\Users\YXF\Desktop\1\2\3.TXT
C:\Users\YXF\Desktop\1\2\4.TXT
Under either Ctrl-B or normal mode, I use "Load Selection from File", the file contains the following:
C:\Users\YXF\Desktop\1\1\1.TXT
C:\Users\YXF\Desktop\1\2\3.TXT
But none is selected.
So how to select multiple files in different folders using "Load Selection from File"?
How to select multiple files in different folders using "Load Selection from File"
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 6
- Joined: 2021-09-01, 01:52 UTC
Re: How to select multiple files in different folders using "Load Selection from File"
2netsonicyxf
After Ctrl+B, the path of the parent directory should be cut off in the list.
But now it's easier to load a list of necessary files via LOADLIST than to suffer with Ctrl+B.
After Ctrl+B, the path of the parent directory should be cut off in the list.
But now it's easier to load a list of necessary files via LOADLIST than to suffer with Ctrl+B.
Overquoting is evil! 👎
-
- Junior Member
- Posts: 6
- Joined: 2021-09-01, 01:52 UTC
Re: How to select multiple files in different folders using "Load Selection from File"
@Fla$her
I removed the path and kept the file name only, but it still doesn't work under Ctrl-B mode.
I removed the path and kept the file name only, but it still doesn't work under Ctrl-B mode.
Re: How to select multiple files in different folders using "Load Selection from File"
2netsonicyxf
You don't need to cut off the entire path, but only the working directory.
You don't need to cut off the entire path, but only the working directory.
Overquoting is evil! 👎
Re: How to select multiple files in different folders using "Load Selection from File"
This will not exactly mark the files, but a button with this command will open a search result with only the files in listfile.txt.
Where listfile holds the filenames with full path and drive like:
C:\Users\YXF\Desktop\1\1\1.TXT
C:\Users\YXF\Desktop\1\2\3.TXT
If you want to select files in a branch View (Ctrl+B) you can use a button with:
But then the drive and path up til and including the current path when you press Ctrl+B has to be removed from the irems in tn listfile.txt
For example:
Desktop\1\1\1.TXT
Desktop\1\2\3.TXT
if you are in C:\Users\YXF when you press Ctrl+B
Code: Select all
LOADLIST drive:\path\listfile.txt
C:\Users\YXF\Desktop\1\1\1.TXT
C:\Users\YXF\Desktop\1\2\3.TXT
If you want to select files in a branch View (Ctrl+B) you can use a button with:
Code: Select all
LOADSELECTION drive:\path\listfile.txt
For example:
Desktop\1\1\1.TXT
Desktop\1\2\3.TXT
if you are in C:\Users\YXF when you press Ctrl+B
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar