TC always keeps directory history

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
malungu
Member
Member
Posts: 130
Joined: 2003-11-23, 19:52 UTC

TC always keeps directory history

Post by *malungu »

Hi,

if I unselect "Configuration, Options, Operation, Save on Exit, Directory History", TC 7 Beta 1 still keeps it when I restart it afterwards; even if I restart the PC.

malungu
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

...still keeps it when I restart it afterwards
Yes, you told him to "Not save the history any more" for the future.
Any history entries written in the past are still there.
#5767 Personal license
User avatar
malungu
Member
Member
Posts: 130
Joined: 2003-11-23, 19:52 UTC

Post by *malungu »

OK, then I misunderstood this functionality. :)

Thanks,
malungu
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to TC 7 beta discussion.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Herr Mann
Power Member
Power Member
Posts: 574
Joined: 2004-05-30, 17:11 UTC
Location: Niedersachsen, Deutschland

Post by *Herr Mann »

Any history entries written in the past are still there.
I deleted this entries manually in the wincmd.ini

I wish "delete private Data" (for History, Multirenametool, Commandline, ...) Command, like Firefox :wink:
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Herr Mann
1. Redirect those entries to a history.ini file using RedirectSection=history.ini in the appropriate sections.

2. Make a button for deleting history.ini and call it "Delete private Data".

I personally redirect the following:

Code: Select all

[Selection]
RedirectSection=history.ini

[SearchName]
RedirectSection=history.ini

[SearchIn]
RedirectSection=history.ini

[SearchText]
RedirectSection=history.ini

[RenameTemplates]
RedirectSection=history.ini

[RenameSearchFind]
RedirectSection=history.ini

[RenameSearchReplace]
RedirectSection=history.ini

[left]
RedirectSection=history.ini

[right]
RedirectSection=history.ini

[lefttabs]
RedirectSection=history.ini

[righttabs]
RedirectSection=history.ini

[Command line history]
RedirectSection=history.ini

[RightHistory]
RedirectSection=history.ini

[LeftHistory]
RedirectSection=history.ini

[MkDirHistory]
RedirectSection=history.ini
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
User avatar
Herr Mann
Power Member
Power Member
Posts: 574
Joined: 2004-05-30, 17:11 UTC
Location: Niedersachsen, Deutschland

Post by *Herr Mann »

Great, it is perfect :D :D
thanks
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

great tip, petermad! Didn't know about that, might be useful for other stuff too, like search templates.
license #76904
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

Another way to do it is to use Ultra TC Editors

see this post to how to do that
http://ghisler.ch/board/viewtopic.php?p=84158#84158
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

@petermad
RedirectSection=history.ini
this is not documented :roll:
i was think RedirectSection can be 0 or 1 only
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ts4242
It is just very badly described in history.txt
28.02.06 Added: wincmd.ini: In each section except for [Configuration], an entry RedirectSection= will instruct tc to redirect(or not) this section to other ini: Values: 0=no redirect, 1=redirect to AlternateUserIni=, <ininame> redirect to that specific ini
The last part should rather be:

Code: Select all

Values: 0=no redirect, 1=redirect to AlternateUserIn, <ininame>=redirect to that specific ini
as i already pointed out in http://ghisler.ch/board/viewtopic.php?p=101046#101046
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
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

@petermad
yes i read your post before but didn't understood what is the difference between the two description :oops: but now i understood. Thanks
User avatar
menet
Member
Member
Posts: 199
Joined: 2005-04-21, 12:27 UTC
Location: Paris, France

Post by *menet »

I had not found this information (about RedirectSection) because it is inside the [Configuration] section in AlternateUserIni definition. :oops:

Can you document the AlternateUserIni and RedirectSection definitions before the [Configuration] section ? :idea:
And then document RedirectSection like that wrote:RedirectSection will instruct Total Commander to redirect (or not) this section to another ini
- 0=no redirec
- 1=redirect to AlternateUserIni=
- <ininame> redirect to that specific ini
To be better clear 8)

Best regards :wink:
#22273 Personal licence
Post Reply