Don't save the state of Show hidden files

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
kennlicht
Junior Member
Junior Member
Posts: 7
Joined: 2016-11-25, 09:17 UTC

Don't save the state of Show hidden files

Post by *kennlicht »

That's a long missing feature, I guess:

It should be possible to tell TC not to save the state of Show hidden files. I want it to always switch back to not showing them after a restart.
That could be the option

Code: Select all

ShowHiddenSystem = -1
(a negative value!) as in

Code: Select all

QuickSearchAutoFilter
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Don't save the state of Show hidden files

Post by *petermad »

2kennlicht
Since you have to turn it on in anyway, I suggest the you make a button (or a keyboard shortcut) with the command cm_SwitchHid

Since cm_SwitchHid is a toggle command, the state of showing hidden files will change every time you click the button, and the button will visually show whether the state is enabled or not..
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
wanderer
Power Member
Power Member
Posts: 1619
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Don't save the state of Show hidden files

Post by *wanderer »

petermad wrote: 2023-08-08, 10:32 UTCSince you have to turn it on in anyway, I suggest the you make a button (or a keyboard shortcut) with the command cm_SwitchHid
Yup, that's the way to go, though i support kennlicht's request. I would too have liked this option if it existed (i.e. a new cm_SwitchHidSysSession command, which would toggle SwitchHidSys without saving the new value to the ini).
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: Don't save the state of Show hidden files

Post by *Fla$her »

2kennlicht
This is easily done using the Autorun plugin. It's enough to write at the end of autorun.cfg:

Code: Select all

Pragma AutorunFinalizeSection
IniWrite %COMMANDER_INI% Configuration ShowHiddenSystem 0
Overquoting is evil! 👎
jacobdotw93
New Member
New Member
Posts: 1
Joined: 2024-06-04, 11:59 UTC

Re: Don't save the state of Show hidden files

Post by *jacobdotw93 »

Fla$her wrote: 2023-08-25, 21:59 UTC 2kennlicht
This is easily done using the Autorun plugin. It's enough to write at the end of autorun.cfg:

Code: Select all

Pragma AutorunFinalizeSection
IniWrite %COMMANDER_INI% Configuration ShowHiddenSystem 0
Hi @FIa$sher, I was trying to set up my TCUP 8.0 with Autorun 2.1.1 (x64) but with no luck, below is content of my autorun.cfg ("C:\Program Files (x86)\TC UP\MEDIA\Plugins\WDX\Autorun\autorun.cfg"):

Code: Select all

LoadLibrary Plugins\Autorun_Process.dll
set COMMANDER_INI="C:\Program Files (x86)\TC UP\wincmd.ini"

Pragma AutorunFinalizeSection
IniWrite %COMMANDER_INI% Configuration ShowHiddenSystem 0
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: Don't save the state of Show hidden files

Post by *Fla$her »

2jacobdotw93
Hi. The current version of Autorun is 2.2.10.
I don't use builds, but obviously your TCUP is outdated too.
set COMMANDER_INI="C:\Program Files (x86)\TC UP\wincmd.ini"
— this line is unnecessary and misspelled (there should be a space instead of =).
If you have not used the plugin before, you should consider all the installation details.
Overquoting is evil! 👎
Post Reply