No no, not the desktop.ini

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sjef van Egmond
Member
Member
Posts: 120
Joined: 2007-03-25, 15:44 UTC
Location: The Netherlands
Contact:

No no, not the desktop.ini

Post by *Sjef van Egmond »

Hi boys & girls,

I have lots of folders with the desktop.ini file in it. When I want to select all the files in that folder -using the asterix at the numeric island of the keyboard- the .ini file is also selected so I always have to search and unselect this file with the Insert key.

Would there be a solution for this?
Licentie#8923
User avatar
EricB
Senior Member
Senior Member
Posts: 357
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Hi Sjef,

I see two quick options:
1) Add desktop.ini to your ignore list. It will never be shown again
2) Instead of using * key, use + key with mask *.*|desktop.ini

The latter option could be saved as a predefined set.

Regards, EricB
User avatar
white
Power Member
Power Member
Posts: 5988
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

You can make a custom command for example em_mySelect with the following command assigned to it.

Code: Select all

Command: SELECTFILES |desktop.ini
You can then use this command in a button, directory hotlist, alias, assign it to a hotkey or combine(*) it with other commands.

To also select all folders, you can make a custom command for example em_mySelect2 with the following command assigned to it.

Code: Select all

Command: cm_SelectAllFolders,em_myselect
(*) new feature in Total Commander 8.50
User avatar
Sjef van Egmond
Member
Member
Posts: 120
Joined: 2007-03-25, 15:44 UTC
Location: The Netherlands
Contact:

Post by *Sjef van Egmond »

Thanks a lot for your quick reactions guys!
I'll report which methode I have used. Many thanks!
Licentie#8923
User avatar
Sjef van Egmond
Member
Member
Posts: 120
Joined: 2007-03-25, 15:44 UTC
Location: The Netherlands
Contact:

Post by *Sjef van Egmond »

The first one wasn't an option, because I want to be able to see the desktop.ini file, although this tip is nice 'n easy.
The second one seems not to work. When I expand the selection with *.* |desktop.ini, the result become >*.* |desktop.ini and the ini file will be selected too. My fault no daupt.

I already use custom commands (linked to shortkeys) to start certain formats (with certain associations) in certain programs, so this tip was the obvious to me. I didn't know this command, so it's much appreaciated (also the [key with mask] in the tip of EricB I didn't recognize).

So I followed the last tip too, made a shortkey and tested it. It all works great, because copying/moving folders with desktop.ini's in them will be copied/moved complete, inclusive the ini files. Except of course the ini-file in the 'root' folder (if there was one in it).

So thanks again both of you guys. Never to old to learn.

One point that's not as smooth as I'm used to in TC: when there's only subfolders in a folder with a desktop.ini I get a sound and an 'error' message: No matches found! :)
Licentie#8923
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sjef van Egmond,
There is a command cm_SwitchIgnoreList that allows enabling/disabling ignore list. So if you need to do something with desktop.ini you can simply disable ignore list temporarily. There are some other items that don't required for regular usage (e.g. folders .svn or .git).
User avatar
Sjef van Egmond
Member
Member
Posts: 120
Joined: 2007-03-25, 15:44 UTC
Location: The Netherlands
Contact:

Post by *Sjef van Egmond »

Hey, MVV! That's a nice and simple alternative you gave there. I'll make a button for this cm_SwitchIgnoreList command, because I think it's quit easier, because with my shortkey to em_mySelect I can't undo the selections with the same key as you can with the asterix key on the numeric island. (But I keep my shortkey to em_mySelect)!

Yes indeed, there are more such files, like you said e.g. gid. I for instance have never anything to do with .Manifest files.

I know about the intern TC command list, but it is so enormous, that I've never serious studied these commands from 1996 until now. Although I've a button to cm_CommandBrowser on one of my TC-bars, I mostly used a TC command after reading a tip about a handy TC option. Maybe it's because I never found a way to print all these command on paper, which makes it a lot easier for me to study them (I'm Dutch :)).
Is there a way to print them out? Could never find them in a row within the Help file. I suppose they're someware in a TC .DLL file.
Licentie#8923
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can print file TOTALCMD.inc in TC folder, it contains all commands (in fact, command browser reads them from this file). :)
User avatar
Sjef van Egmond
Member
Member
Posts: 120
Joined: 2007-03-25, 15:44 UTC
Location: The Netherlands
Contact:

Post by *Sjef van Egmond »

Well... I think it's by coincidence I never ever looked into this file, MVV :oops:
It's a shame for someone who always used TotalCMD (WinCMD) from the first time he used Windows. But for everything else is a first time too, I suppose.

Thank you very much for your answer and thanks to the other posters for their instructive notices! It could be leading to more questions, but so be it...
Licentie#8923
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Sjef van Egmond

You could also try my extended menus - see signature, or http://www.ghisler.ch/board/viewtopic.php?t=33740 - they use almost all of internal commands - just to get the idea of the potential of the command system.
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
Sjef van Egmond
Member
Member
Posts: 120
Joined: 2007-03-25, 15:44 UTC
Location: The Netherlands
Contact:

Post by *Sjef van Egmond »

Petermad,

Even though your name looks familiar to me, this is a whole new world that opened my eyes for what is possible with TC. It dazzeled me, looking at your screenshots of this Extended Menus.

I have made PDF's from all the important pages on your website
http://madsenworld.dk/index-uk.htm?wincmd/index-uk.htm
and go and read all about it!

It has to be an huge amount of time to collect all those GIF's (including backgrounds), plugins, special icon-packages, etc, etc. I'll take full notice at your Extended Menus and, -although I hardly use my mouse in TotalCMD- no doubt I could benifit from this phenomenon.

Lots of succes in future!
Licentie#8923
Post Reply