Run windows registry editor and goto
HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER\Software\Ghisler\Total Commander
Let IniFileName=none_exist_folder_path\Wincmd.ini
now each time you start TC it will start without any configuration file
any setting you change will never saved
try the following
1- Add some items to start menu and click OK (nothing will save)
2- Add some items to directory menu and click OK (nothing will save)
3- go to Configuration> Change Settings File directly (nothing will show)
i think if this is not by design, it will be nice if TC inform the user that the path of Wincmd.ini is invalid and let him browse for one.
Funny trick
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You should get an error message when you try to save something in Configuration - Options. I decided not to show an error for each single write, because some companies deliberately make the wincmd.ini read-only, so people cannot change any settings.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2>Ghisler
the problem here not due to write permission because IniFileName refere to none exist file path so from where you know it is read-only or not!
for more explanation try this:
===================
on C drive create "_tc_ini" folder
Let IniFileName = c:\_tc_ini\my_tc.ini
when TC start it will create "my_tc.ini" file automatically and use it
close TC and delete "_tc_ini" folder
run TC again
The question now where TC will create "my_tc.ini"?
the answer is TC will never create it and each time you start TC you will lose your settings you were set last session
in like this situation it will be nice if TC inform the user that the path of Wincmd.ini is invalid and let him browse for one or create the path automatically
althought it is rarly situation but if it happen to someone it will be difficult to discover what is happenning
i hope it is clear now
the problem here not due to write permission because IniFileName refere to none exist file path so from where you know it is read-only or not!
for more explanation try this:
===================
on C drive create "_tc_ini" folder
Let IniFileName = c:\_tc_ini\my_tc.ini
when TC start it will create "my_tc.ini" file automatically and use it
close TC and delete "_tc_ini" folder
run TC again
The question now where TC will create "my_tc.ini"?
the answer is TC will never create it and each time you start TC you will lose your settings you were set last session
in like this situation it will be nice if TC inform the user that the path of Wincmd.ini is invalid and let him browse for one or create the path automatically
althought it is rarly situation but if it happen to someone it will be difficult to discover what is happenning
i hope it is clear now