Search for multiple folders-directories at once

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Om3ga
Junior Member
Junior Member
Posts: 2
Joined: 2016-12-02, 20:20 UTC

Search for multiple folders-directories at once

Post by *Om3ga »

Hi guys! Using tcmd from some time and i'm very pleased. Need to search for multiple folders/directories (only folders) and want to loaded from text or input many at once?
Example:
School.Project-(434)-2015
School.Project-(431)-2016
School.Rules.Update-2017
and so on.....

Now i can search only one file with ALT+F7 works great. Is there any script, or any way to do this, i know search like this will take some time its not a problem for me.
:)
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2Om3ga
Search for: School.Project-(434)-2015;School.Project-(431)-2016;......
Uncheck 'Everything' http://rgho.st/6dx7qzxJX
Advance Tab->Check Attributes and directory. http://rgho.st/6PSwvXw5r

voila: http://rgho.st/6qfvrBDLp
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Om3ga
Junior Member
Junior Member
Posts: 2
Joined: 2016-12-02, 20:20 UTC

Post by *Om3ga »

Thanks! But some of the directories begin with brackets and search is not successful. Some contrains symbols like: "-", "_".

i.e.

(math-practice)-2015
(chemisry_1999)-m-report
(10test)-asp
User avatar
petermad
Power Member
Power Member
Posts: 16134
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Search for: School.Project-(434)-2015;School.Project-(431)-2016;......
This only works because there is a dot in the folder names and there is no spaces. If there is no dot, there has to be at least one wildcard character. On the other hand you don't need to use ; as separator - space will do. So this will be a better approach:

Search for: "*foldername 1" "foldername 2" "foldername 3"

It should work in all cases I think.
Uncheck 'Everything' http://rgho.st/6dx7qzxJX
Why?
Last edited by petermad on 2016-12-02, 23:54 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16134
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Om3ga
Search for: *(math-practice)-2015 (chemisry_1999)-m-report (10test)-asp
should work.

And if thre are spaces in the names like this:
Search for: "*(math-practice) - 2015" "(chemisry_1999) - m - report" "(10test) - asp"
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply