Page 1 of 1

Deactivation of directory and filename history

Posted: 2021-06-11, 10:55 UTC
by funkymonk
Hi There,

When creating a new directory (F7) or file (Shift-F4), TC maintains a list of recently used names as templates.
I suggest to allow the deactivation of the automatic maintenance of these lists (but just specify fixed entries in the ini file).

What do you think?

BR
funkyMonk

Re: Deactivation of directory and filename history

Posted: 2021-06-11, 11:35 UTC
by Horst.Epp
Not necessary.for me.
You can delete entries from this list by using Shift-Del

Re: Deactivation of directory and filename history

Posted: 2021-06-11, 12:12 UTC
by Dalai
It's alwas possible to redirect any section of wincmd.ini with RedirectSection key to another INI file. When you make that other file read-only, TC won't save anything new to this file, essentially giving you the intended result. The sections relevant for your case are MkDirHistory and NewFileHistory.

Regards
Dalai

Re: Deactivation of directory and filename history

Posted: 2021-06-11, 12:27 UTC
by Stiltzkin

Code: Select all

;windmcd.ini

[NewFileHistory]
RedirectSection=%commander_path%\Data\Profile\Settings\newfilehistory.ini

[MkDirHistory]
RedirectSection=%commander_path%\Data\Profile\Settings\mkdirhistory.ini

Re: Deactivation of directory and filename history

Posted: 2021-06-11, 12:48 UTC
by funkymonk
@ 2Stiltzkin
@ 2Dalai

Good idea.
This way I can even create some templates in the redirected file and prevent them from being replaced.

Thx and BR
funkyMonk.