Disable "New folder" history? [MkDirHistory]
Moderators: Hacker, petermad, Stefan2, white
Disable "New folder" history? [MkDirHistory]
Is there a way to disable this?
Seems to me that the behavior of RedirectSection=* is undocumented/undefined. Like other invalid entries like:MVV wrote:Just add parameter RedirectSection=* to your section [MkDirHistory] and restart TC to disable adding new items to that section.
Help section 4.b will help to understand why it works.![]()
RedirectSection=.
RedirectSection=\
RedirectSection=|
If the null device is installed one could also use:
RedirectSection=nul
Alternatively one could redirect to a file which is readonly. For example create a 0 byte file named "section redirect readonly.ini" in the folder where your main ini is stored and change the file attributes of this file to make the file readonly. Then use:
RedirectSection=section redirect readonly.ini
You can also use the last method to create a fixed prefined history.
My suggestion for Christian is to implement a new value -1 indicating that a section is disabled. So people could use:
RedirectSection=-1