Suggestion: Improvement of direct INI editing

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
CopyCats
Member
Member
Posts: 195
Joined: 2003-02-05, 13:09 UTC
Location: Netherlands
Contact:

Suggestion: Improvement of direct INI editing

Post 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.
#5050 :: Everyone who believes in telekinesis, raise my hand!
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

Suport++
I often edit TC ini files manually, and such TC behaviour enrage me.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post 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?
TC for Linux please!
User avatar
CopyCats
Member
Member
Posts: 195
Joined: 2003-02-05, 13:09 UTC
Location: Netherlands
Contact:

Post 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.
#5050 :: Everyone who believes in telekinesis, raise my hand!
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post 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+.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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
Author of Total Commander
https://www.ghisler.com
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Post Reply