Page 1 of 1

Suggestion: Improvement of direct INI editing

Posted: 2007-01-09, 15:18 UTC
by CopyCats
Total Commander has a command "Configuration - Change Settings Files Directly" that lets you edit its INI files directly. In order to activate the new settings, you must usually close and restart the program.

However, when you close the program, Total Commander will re-write WINCMD.INI using its current (old) settings, overwriting the changes that you have just made manually! :)

That is a vicious circle... You can keep editing the ini's and closing and re-launching Total Commander, but nothing will change.

I solve this, myself, by exiting Total Commander as soon as I have issued this command (so, before I actually edit and save the INI files). But this may not be an obvious solution to other users.

Suggestion: When this command is chosen, handle it as follows:

- Save the current settings to wincmd.ini and wcx_ftp.ini
- Open these files in the user's editor, so he can change them
- Show a message that says "When you have edited your INI files and saved them, click OK to proceed."
- When OK is pressed, re-load the settings from the new ini-files and proceed.

If the latter is impossible, maybe you could exit and re-launch Total Commander (without rewriting the INI's) when the user indicates that he has finished editing and saving his INI files.

Posted: 2007-01-09, 16:41 UTC
by D1P
Suport++
I often edit TC ini files manually, and such TC behaviour enrage me.

Posted: 2007-01-09, 16:56 UTC
by roentgen
I edit the files and save them. After that I restart TC and the new settings are in effect. I've never seen settings getting overwritten, except maybe opened tabs and current dirs, but who edits such things?

Posted: 2007-01-09, 16:59 UTC
by CopyCats
roentgen wrote:I edit the files and save them. After that I restart TC and the new settings are in effect.
It probably depends on your settings. In Configuration | Operation, there are several settings that cause things to be saved to the INI file on exit.

Posted: 2007-01-09, 19:27 UTC
by wanderer
CopyCats wrote:In Configuration | Operation, there are several settings that cause things to be saved to the INI file on exit.
That's right. That's why this idea is nice.

Support+.

Posted: 2007-01-10, 10:28 UTC
by ghisler(Author)
There is a simple solution for that:
1. Choose "Edit settings files directly"
2. Close Total Commander
3. Change and save your settings
4. Restart Total Commander

Posted: 2007-01-10, 10:36 UTC
by djk