[REQ] Select directories with special key

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

[REQ] Select directories with special key

Post by *majkinetor ! »

Like * which will select only files (with default config)
Is there any way currently to set , lets say /, to select only directories ? If not, I think this is nice request.

The only method I know now is to define search for directories and savE it and then call it with "expand selection", but this is far from convenient.
Habemus majkam!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3299
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Press '+' on Numberblock
enter '*.'
u got what u want...
Hoecker sie sind raus!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I already use that:
The only method I know now is to define search for directories and savE it and then call it with "expand selection", but this is far from convenient.
and as I said it is cumbersome. Why do we have * for files and no "*" for directories ?

Some internal command would be enough
cm_selectdirectories
Habemus majkam!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Sir_SiLvA wrote:Press '+' on Numberblock
enter '*.'
u got what u want...
When I do a search on my C:\ -drive for '*.' and additional 'Attr. No folder' selectzed I get 536 files.

If you use XP you'll have at least the files HOSTS and SAM that will be found.
Otherwise I have lots of folders with dots in their name.

So I think the cm_selectDirectories is a good idea.

Support.++

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Wildcards are not enough to select directories, since nothing distincts them from normal fils except attribute. So, U can save search with attribute set to directory and then call it from "expand selection". That is only possible way today with TC, but it generaly requires pressing many keys instead just one. Of course if you use it a lot it will always be available with '+' + <ENTER> and this is what I use today.
Habemus majkam!
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Currently one can define a template for folders only and select this template in dialog appearing on Num +. This needs several keys to be pressed (Num +, Tab, Down{n times}, Enter), but it's possible to write a script that will do the same action on a single hotkey. So, it's not a great problem, I suppose. ;)

Not that I object to the idea of adding cm_selectDirectories however. :D
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
Post Reply