Hide links... possible?

English support forum

Moderators: Hacker, petermad, Stefan2, white

CheloXL
Junior Member
Junior Member
Posts: 9
Joined: 2006-12-18, 00:02 UTC
Location: Rosario, Argentina
Contact:

Hide links... possible?

Post by *CheloXL »

Hi,

It is possible to instruct TC to NOT show junction points/links on panes?

So, for example, inside my windows user profile I have an "Application Data" folder that it is really a link to "\AppData\Roaming".

What I would like to know if I can tell TC to simply not show that Application Data folder...

Thanks and regards,
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

- Start TC as administrator
- Command line: dir c:\*.* /adhsl /b /s >%Commander_path%\Ignorelist.txt
- Menu: "Configuration -> Options... : Ignore list"
- [x] Ignore (don't show) the following files and folder
- Save in: Ignorelist.txt
- [OK]

HTH
Holger
User avatar
louwin
Member
Member
Posts: 128
Joined: 2007-06-09, 11:22 UTC
Location: Perth, Western Australia

what am I doing wrong?

Post by *louwin »

I am trying to ignore all folders with names ending with "_files" so I entered:-

*_files

in my Ignorelist.txt

But they are still showing!

Must you list specific names in the ignore list?
There are 10 types of people in the world,
Those who understand binary and those who don't.
User avatar
louwin
Member
Member
Posts: 128
Joined: 2007-06-09, 11:22 UTC
Location: Perth, Western Australia

Specific folder names

Post by *louwin »

I listed a couple of folder names exactly and they didn't get ignored either :(
There are 10 types of people in the world,
Those who understand binary and those who don't.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

louwin, please check that your ignore list file is really saved (maybe lack of rights), and that ignore list is enabled (it may be switched using command cm_SwitchIgnoreList).
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: what am I doing wrong?

Post by *HolgerK »

louwin wrote:I am trying to ignore all folders with names ending with "_files" so I entered:-

*_files
Correct syntax for hiding folder only is
*_files\
Anyway, it should also work with missing \.

Ignore list doesn't work on FTP, inside archives, plugins or virtual folders.
So this may be the reason in your case?

Regards
Holger
CheloXL
Junior Member
Junior Member
Posts: 9
Joined: 2006-12-18, 00:02 UTC
Location: Rosario, Argentina
Contact:

Post by *CheloXL »

@HolgerK: Thanks, that would work. But it is possible to do that automatically (or internally) without having to resort to that kind of hack?

I mean: Yes, that works ok, but if at any point the system/a program decides to create new links, I would have to repeat over and over again (and BTW: I already have items in my ignore list, so making a bat file with your command will not work as that will overwrite all my already stored items).
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

CheloXL, theese special links are for compatibility, and system won't create links anymore. Programs don't create links usually too.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

CheloXL wrote:But it is possible to do that automatically (or internally) without having to resort to that kind of hack?
Unfortunately not.
Sign in to the club: http://ghisler.ch/board/viewtopic.php?p=229549#229549
Searchtemplates in ignore list (searching for attributes like system hidden directory reparse point) would do this easily.
(and BTW: I already have items in my ignore list, so making a bat file with your command will not work as that will overwrite all my already stored items).
Sorry, didn't know that you already have a ignore list file with the same name (default name is tcignore.txt).
You can modify the command
dir c:\*.* /adhsl /b /s >>%Commander_path%\Ignorelist.txt
to append the list of hidden system junctions.

Regards
Holger
User avatar
louwin
Member
Member
Posts: 128
Joined: 2007-06-09, 11:22 UTC
Location: Perth, Western Australia

Re: what am I doing wrong?

Post by *louwin »

HolgerK wrote: Correct syntax for hiding folder only is
*_files\
Anyway, it should also work with missing \.

Ignore list doesn't work on FTP, inside archives, plugins or virtual folders.
So this may be the reason in your case?
I checked the Ignore List file. It has the *_files\ and two specific folder names in it. Yes, I put in the missing \ :)

It is in a local folder in a RAID mirror

It is in a button though, does that make a difference?

The *_files\ AND the specific full folder names don't cause the corresponding folders to be ignored and they display as normal.
There are 10 types of people in the world,
Those who understand binary and those who don't.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: what am I doing wrong?

Post by *HolgerK »

louwin wrote:It is in a button though, does that make a difference?
:? Can you please explain in detail.
There are only two commands related to ignore list which can be used within a button:
TOTALCMD.INC wrote:cm_IgnoreConfig=480;Conf: Ignore list
cm_SwitchIgnoreList=2922;Enable/disable ignore list file to not show file names
So wth has your button to do with the ignore list ("Configuration -> Options... : Ignore list") feature of TC?

Regards
Holger
User avatar
louwin
Member
Member
Posts: 128
Joined: 2007-06-09, 11:22 UTC
Location: Perth, Western Australia

My understanding of Ignore List

Post by *louwin »

Sorry, my (newbie) understanding of Ignore list:-

A txt file containing the names of folders and files to ignore, right?

The button concerned does a "cd O:\Episode Lists". Pressing this button lists the "*.htm" files and their associated "*_files" folders.

So an active Ignore list file with "*_files\" in it should cause ALL the associated "*_files" folders to be ignored? Right?

I don't see what else has to be actioned/switched on/enabled or what.... :oops:

I tried to read the concept in the help pages under index "ignore" but no luck.

I am assuming the mere presence of an Ignore List file in the TC directory causes a "filter" effect, right?

I have the same list in (the TC directory in Program Files (x86)) as Ignorelist.txt and the (default) tcignore.txt in the hope one will work.

I tried the c:\*.* /adhsl /b /s >>%Commander_path%\Ignorelist.txt in TC's command line to no effect (again - newbie!).

I'm pursueing a thread I started a bit back. This thread involved ctrl/F12's. I decided that I couldn't acheive in a button the effect of a ctrl/F12 string, namely ignore all directories/folder names.

This is another attempt from a different direction.... :) but with the same result? :(
There are 10 types of people in the world,
Those who understand binary and those who don't.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Louwin.

Inside Total Commander go to Configuration => Options => Ignore List. Then click on the [Help] button and read how T.C. ignore list works.
T.C. uses one single ignore list file for everything which you do not want to be displayed in the file panels.
If you create an ignore list file like %Commander_path%\Ignorelist.txt either manually or with the help of Holger's Script you will have to enter the path to this ingore list file %Commander_path%\Ignorelist.txt in the dialogue Configuration => Options => Ignore List - field Save In: [%Commander_path%\Ignorelist.txt].

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: My understanding of Ignore List

Post by *HolgerK »

A txt file containing the names of folders and files to ignore, right?
...
So an active Ignore list file with "*_files\" in it should cause ALL the associated "*_files" folders to be ignored? Right?
Right.
I am assuming the mere presence of an Ignore List file in the TC directory causes a "filter" effect, right?
That's the problem.
You must select the Ignore List file and activate the Ignore feature (as described in my first post).

Okay Step by Step:

A. Open the configuration dialog:
-> Menu: "Configuration -> Options... : Ignore list"

B. Enter or select the name of your ignore list (best use the file select button at the bottom right handed to the edit field):
-> "Save in: [____] [>>]"
After you've selected the file, you should see the content of the list in the editor above.

C. Activate the Ignore List:
At the top of the dialog there is a check box
-> "[x] Ignore (don't show) the following files and folder"
ensure that this box is checked.

D. Apply th configuration dialog with [OK].

Now all files or folders matching the pattern given by the list should disappear from the file panel (Don't panic they are not removed only hidden/ignored).

Advanced Steps:
You can create a button to switch the Ignore List on/off:

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchIgnoreList

WCMICONS.dll,81


0
2922
- Mark the text from the code area above and copy the selection into the clipboard.
- Open the context menu of the button bar and select "Paste".

Another button:

Code: Select all

TOTALCMD#BAR#DATA
cm_IgnoreConfig

WCMICONS.dll,34


0
480
can be used to quickly access the configuration dialog.
I tried the c:\*.* /adhsl /b /s >>%Commander_path%\Ignorelist.txt in TC's command line to no effect (again - newbie!)
This was only meant as a quick start to populate a list with all hidden system symbolic links (which are present in Vista and Windows 7 for compatibility reasons).
In case you have not turned on the show hidden/system files option these symbolic links are not visible anyway.

The normal use case is:
- mark the files and folder you want to hide
- activate the configuration dialog
- press one of the buttons [Add selected names with full path] or [Add selected names]
The first option ignores exactly this marked files&folders at there given location (Path), while the second ignores all files&folder names in every path.

You can also use the editor inside the configuration dialog to manual edit names.
Each name pattern (wild cards are allowed in names but not path. E.g "D:\Folder\*_files\" is valid while "D:\*Folder\*_files\" is not) must be placed in a single line.

HTH
Holger
User avatar
louwin
Member
Member
Posts: 128
Joined: 2007-06-09, 11:22 UTC
Location: Perth, Western Australia

Worked, thanks

Post by *louwin »

Thanks HolgerK :)

Previous instructions were not newbie proof (well, not this newbie anyway).

I had originally created the list with Notepad and hadn't enabled it.

Followed your much clearer instructions and did it right this time :roll:

Thanks again

Also thanks to karlchen for showing how to get to the "Help" :o
Post Reply