wincmd.ini
Code: Select all
TabDir=%COMMANDER_PATH%\tabs
Proposal
The goal is to make the path where tab files are saved/looked for read-only. I offer three options, from most specific to more general ways to go about adding this feature. I would be happy with the first option (A) to be implemented.
A Add new setting TabDirRO which overrides TabDir= to indicate that the setting is read-only.
B Support `|' (pipe) as the first character of a file pah setting to indicate that the setting is read-only.
C Support `=|' (equals-pipe) to indicate a read-only setting.
Clearly options B and C have far-reaching implications that are hard to predict; that's why I'm in favor of option A. I included B and C more to make A's advantage more clear when you come to think of it.
Notes
1. I'm not aware of any other wincmd.ini setting that would benefit from being specified read-only.
2. I searched TC history file for "lock" and "read-only" and didn't find a match for this concept.