Page 1 of 1

TC always keeps directory history

Posted: 2006-11-05, 06:28 UTC
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

Posted: 2006-11-05, 09:37 UTC
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.

Posted: 2006-11-05, 09:58 UTC
by malungu
OK, then I misunderstood this functionality. :)

Thanks,
malungu

Posted: 2006-11-05, 11:53 UTC
by Hacker
[mod]Moved to TC 7 beta discussion.

Hacker (Moderator)[/mod]

Posted: 2006-11-05, 16:03 UTC
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:

Posted: 2006-11-05, 20:47 UTC
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

Posted: 2006-11-05, 21:01 UTC
by Herr Mann
Great, it is perfect :D :D
thanks

Posted: 2006-11-05, 21:03 UTC
by TucknDar
great tip, petermad! Didn't know about that, might be useful for other stuff too, like search templates.

Posted: 2006-11-06, 09:12 UTC
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

Posted: 2006-11-06, 15:32 UTC
by ts4242
@petermad
RedirectSection=history.ini
this is not documented :roll:
i was think RedirectSection can be 0 or 1 only

Posted: 2006-11-06, 15:40 UTC
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

Posted: 2006-11-06, 15:51 UTC
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

Posted: 2006-12-03, 11:32 UTC
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: