Don't save the state of Show hidden files

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

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: 14809
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.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
wanderer
Power Member
Power Member
Posts: 1578
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
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Fla$her
Power Member
Power Member
Posts: 2318
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! 👎
Post Reply