Selecting multiple folders from list in txt file

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Minka_1579
Junior Member
Junior Member
Posts: 5
Joined: 2023-04-25, 19:44 UTC

Selecting multiple folders from list in txt file

Post by *Minka_1579 »

Hi,
I have a list in list.txt file of folders that I want to select from large number of folders in panel.
How do I do it ? I can' t use Ctrl and click as list is not small and it will take a lot of time.
Is it possible to do it ?
User avatar
Dalai
Power Member
Power Member
Posts: 9964
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Selecting multiple folders from list in txt file

Post by *Dalai »

Menu Mark > Load Selection from File is probably what you're looking for.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Minka_1579
Junior Member
Junior Member
Posts: 5
Joined: 2023-04-25, 19:44 UTC

Re: Selecting multiple folders from list in txt file

Post by *Minka_1579 »

Thank you, but nothing happens, probably I have got it wrong listed in my list.txt file (vertical list with names of the folders that I want to select). Can you please explain how should I list properly my desired folders in that txt file, thank you, kind regards.
Minka
User avatar
Dalai
Power Member
Power Member
Posts: 9964
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Selecting multiple folders from list in txt file

Post by *Dalai »

IIRC the list should contain names only, but no paths, neither relative nor absolute.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Minka_1579
Junior Member
Junior Member
Posts: 5
Joined: 2023-04-25, 19:44 UTC

Re: Selecting multiple folders from list in txt file

Post by *Minka_1579 »

Do those names should be separated by something ? Because when I have got only names, it is not selecting anything.
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: Selecting multiple folders from list in txt file

Post by *Gral »

Folder names should end with a backslash!
User avatar
Dalai
Power Member
Power Member
Posts: 9964
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Selecting multiple folders from list in txt file

Post by *Dalai »

The list file should contain one name per line. Directory names need to have a trailing backslash.

You can also generate such a list file with Mark > Save Selection to File, to find out these pieces of information.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Minka_1579
Junior Member
Junior Member
Posts: 5
Joined: 2023-04-25, 19:44 UTC

Re: Selecting multiple folders from list in txt file

Post by *Minka_1579 »

Thank you very much indeed, fantastic, it works now.
Kind regards.
Minka
User avatar
beb
Power Member
Power Member
Posts: 580
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Selecting multiple folders from list in txt file

Post by *beb »

Dalai wrote: 2023-04-25, 20:24 UTC IIRC the list should contain names only, but no paths, neither relative nor absolute.

Regards
Dalai
You're right, the format of the list is as follows [btw the same as for the files, where also only names are stored]:

Code: Select all

folder_one\
folder_three\
folder_two\
So the option in question works only if a user enters the parent directory where the folders [or files] in the list reside.

edit There have come some new messages here while I was typing, so my message doesn't make much sense, sorry.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Minka_1579
Junior Member
Junior Member
Posts: 5
Joined: 2023-04-25, 19:44 UTC

Re: Selecting multiple folders from list in txt file

Post by *Minka_1579 »

On the contrary, it was helpful to me, thank you for that example with code,
regards,
Minka
Post Reply