How do i clear last visited folders on TC ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
KLesK
Junior Member
Junior Member
Posts: 19
Joined: 2003-02-26, 09:49 UTC
Location: Sweden

How do i clear last visited folders on TC ?

Post by *KLesK »

I want to clear the list now :) How do i do that?

Image: http://static.pici.se/pictures/KDMfafWBw.png

Would be nice if you could clear it in the same drop-down menu when you press the down-arrow (se picture) with some ''Clear list now''
#80520 personal licence
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Total Commander stores it in wincmd.ini, in [RightHistory] and [LeftHistory] sections. Delete everything you have there to clean it up. If you want to automate this task, I suggest to redirect them to separate file and just delete it.
To redirect them, just write in each

Code: Select all

RedirectSection=History.ini
FYI, there are more sections that store some historical things.
User avatar
PeaceMaker
Senior Member
Senior Member
Posts: 287
Joined: 2005-12-31, 22:32 UTC
Location: Warsaw, Poland
Contact:

Post by *PeaceMaker »

m^2 wrote:FYI, there are more sections that store some historical things.
[Command line history]
[MkDirHistory]
[Selection]
[SearchName]
[SearchIn]
[SearchText]
[RightHistory]
[LeftHistory]



...all can be placed in one single txt file (eg. history.ini) :!:
[face=tahoma]LICENSE NUMBER: #101897 Single user license (since: 6th February 2004)
CURRENT VERSION: Total Commander 9.00 beta 12 (released: 31st August 2016)
[/face]
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

[RenameTemplates]
[RenameSearchReplace]
[RenameSearchFind]
[RightTabs]
[LeftTabs]
[Right]
[Left]
User avatar
KLesK
Junior Member
Junior Member
Posts: 19
Joined: 2003-02-26, 09:49 UTC
Location: Sweden

Post by *KLesK »

Many thanks 8)
#80520 personal licence
User avatar
PeaceMaker
Senior Member
Senior Member
Posts: 287
Joined: 2005-12-31, 22:32 UTC
Location: Warsaw, Poland
Contact:

Post by *PeaceMaker »

[SplitPerFile]
[face=tahoma]LICENSE NUMBER: #101897 Single user license (since: 6th February 2004)
CURRENT VERSION: Total Commander 9.00 beta 12 (released: 31st August 2016)
[/face]
KucingLapar
Member
Member
Posts: 134
Joined: 2007-06-25, 11:54 UTC

Post by *KucingLapar »

im wondering why there's no option in tc option dialog to do ridiculous simple job like clearing all history entries and why users have to go the effort of manually editing tc config file to enable/disable particular features?? why all those 'hidden' settings cannot just be added in tc option dialog??
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Renew and support

Post by *Clo »

2KucingLapar

:) Hello !

• Let be sure that it has been requested already, I did too (or support),
since that exists in the most programmes (editors etc.)
- It's a wish to renew, and indeed, I'll support it again.

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Becky
Junior Member
Junior Member
Posts: 17
Joined: 2007-06-13, 16:56 UTC

Post by *Becky »

Add me to the list of wishers for this option!

Thanks
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

Add me too...

I support !

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

Taher Salem made a nice add-on for this : Ultra TC History Editor.
0.618033988
User avatar
Rein de Jong
Senior Member
Senior Member
Posts: 394
Joined: 2005-01-30, 20:26 UTC
Location: NL
Contact:

Post by *Rein de Jong »

Support!

Just for presentations I have to clear all history. It would be nice there was a button or internal Command to clear the history at once.

There are commands to Clear: cm_Clear
- Files
- Folders
- SelCfg
- All
- AllFiles
- AllFolders
- AllCfg
- CmdLine

Bu no cm_ClearHistory :-(

Why?
Groetjes/
______/Rein

--- Moderator NL-forum ---
zie ook: https://www.reindejong.nl/totcmd
pcitrus
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-22, 21:45 UTC

Post by *pcitrus »

This is an inherent bug I have to say.
The mere act of store history has to be accompanied by the option of clearing history.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

These 2 are history items?

[Selection]
[SplitPerFile]
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I surely consider [Selection] to be a history setting:

Here is what I put in my history.ini

[Selection]
[SearchName]
[SearchIn]
[SearchText]
[rename]
[RenameSearchFind]
[RenameSearchReplace]
[left]
[right]
[lefttabs]
[righttabs]
[Command line history]
[RightHistory]
[LeftHistory]
[MkDirHistory]
[attrplugin]
[RenameTemplates]
[SyncOptions]

the 3 last ones might be considered user settings, but can reveal what files I have on my system, so I redirect them to the history.ini

Then I keep a user.ini with:
[user]
[DirMenu]
[AllResolutions]
[XXXxYYY (8x16)]

And finally a plugins.ini with:
[PackerPlugins]
[FileSystemPlugins]
[ListerPlugins]
[ContentPlugins]
[DisabledPlugins] (non-TC)


But since different users might have very different viewpoints as to what should be considered history items, I think it would be very difficult to make a delete_history command that could satisfy a reasonable amount of users - so I think using the RedirectSection parameter is much more versatile - but admitted - it requires a little more initial work to use it.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply