RedirectSection enhancement
Posted: 2017-04-14, 23:51 UTC
So the parameter RedirectSection in a section of the Total Commander configuration file currently offers the option to NOT redirect a section (=0), redirect the section to the file specified in AlternateUserIni (=1) or specify an ini file (=<inifile>).
What I'm missing is an option (=2) that respects all defined parameters in that section as long as such a section does not exist in the AlternateUserIni file.
This would enable a Total Commander administrator on a Terminal Server environment to define reasonable settings for a section but still give the Total Commander user the possibility to override these settings.
As soon as let's say the user changes something which affects the [Colors] section and RedirectSection=2 is set for this section, the sections [Colors] would be created in the AlternateUserIni file together with all configured section parameters from the wincmd.ini, taking the user's change into account.
Ideally, Total Commander then should also offer an option (or at least internal command) to "revert" back to the settings defined by the Administrator. This would simply remove all sections from the user's AlternateUserIni file which have a RedirectSection=2 entry in the wincmd.ini.
This gives the user the freedom of adjusting settings to his preference while enabling the Total Commander administrator to predefine suitable parameter for the environment and only have to make changes in exactly one place.
While this is probably nothing that a user on a individual client pc would care about but makes a huge difference for Terminal Server environments.
What I'm missing is an option (=2) that respects all defined parameters in that section as long as such a section does not exist in the AlternateUserIni file.
This would enable a Total Commander administrator on a Terminal Server environment to define reasonable settings for a section but still give the Total Commander user the possibility to override these settings.
As soon as let's say the user changes something which affects the [Colors] section and RedirectSection=2 is set for this section, the sections [Colors] would be created in the AlternateUserIni file together with all configured section parameters from the wincmd.ini, taking the user's change into account.
Ideally, Total Commander then should also offer an option (or at least internal command) to "revert" back to the settings defined by the Administrator. This would simply remove all sections from the user's AlternateUserIni file which have a RedirectSection=2 entry in the wincmd.ini.
This gives the user the freedom of adjusting settings to his preference while enabling the Total Commander administrator to predefine suitable parameter for the environment and only have to make changes in exactly one place.
While this is probably nothing that a user on a individual client pc would care about but makes a huge difference for Terminal Server environments.