Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
Moderators: Hacker, petermad, Stefan2, white
Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
Would this makes sense?
Would this be possible?
Add a cm_command to re-read the currently-used-wincmd.ini whitout the need to restart TC
F.ex. I want to modify the ini to adjust a line like this:
Filter1=*.txt *.log *.ini *.cfg *.htm
to
Filter1=*.txt *.log *.ini *.cfg *.htm *.xml
and just let TC reread the ini w/o restarting TC.
Or should we use cm_Exit for that?
Would this be possible?
Add a cm_command to re-read the currently-used-wincmd.ini whitout the need to restart TC
F.ex. I want to modify the ini to adjust a line like this:
Filter1=*.txt *.log *.ini *.cfg *.htm
to
Filter1=*.txt *.log *.ini *.cfg *.htm *.xml
and just let TC reread the ini w/o restarting TC.
Or should we use cm_Exit for that?
Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
For me that is enough as such Ini modifications are not happens often.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
Or maybe
cm_exit 9
Code: Select all
TOTALCMD#BAR#DATA
cm_exit 9
TOTALCMD.EXE,25
cm_exit 9|1: Exit and restart Total Commander|8: Pass current left and right directory and file under cursor to new instance|https://www.ghisler.ch/board/viewtopic.php?p=446794#p446794
-1

Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
User wish:
I just found out that that command is already available internal and it should be easy to make a own command from it:
2ghisler(Author)
So can we please get a new command like
cm_ReloadINI
or even
cm_ReloadINI <path\example.ini>
cm_ReloadINI "%temp%\clean.ini"
So we do not have to restart TC, and do not loose filtering and selections and keep all current open folder.
Thanks for considering it and also for a feedback.
Stefan2 wrote: 2024-03-26, 11:02 UTC Would this be possible?
Add a cm_command to re-read the currently-used-wincmd.ini whitout the need to restart TC
I just found out that that command is already available internal and it should be easy to make a own command from it:
ghisler(Author) wrote: 2014-03-13, 15:00 UTC Command to load .lng files
The function isn't currently checking the presence of the files.
It just sets the name in the ini, and tells TC to re-load the language and menu.
. . .
2ghisler(Author)
So can we please get a new command like
cm_ReloadINI
or even
cm_ReloadINI <path\example.ini>
cm_ReloadINI "%temp%\clean.ini"
So we do not have to restart TC, and do not loose filtering and selections and keep all current open folder.
Thanks for considering it and also for a feedback.
Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
Reloading the language and menu is not the same as reloading wincmd.ini.Stefan2 wrote: 2024-06-28, 13:12 UTCI just found out that that command is already available internal and it should be easy to make a own command from it:Stefan2 wrote: 2024-03-26, 11:02 UTC Add a cm_command to re-read the currently-used-wincmd.ini whitout the need to restart TC
ghisler(Author) wrote: 2014-03-13, 15:00 UTC . . .
It just sets the name in the ini, and tells TC to re-load the language and menu.
. . .
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
This is unfortunately not feasible, sorry. Just restart TC with e.g.
cm_exit 1
cm_exit 1
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
cm_RereadTC
I propose to add the cm_RereadTC command, which will allow you to reread the wincmd.ini file without rebooting the TC. Now for this purpose you have to use the Autorun plugin to create an endless loop and set a time delay.
Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
Moderator message from: white » 2025-01-11, 14:09 UTC
Merged topics:
» Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
» cm_RereadTC
» Add a cm_command to re-read the wincmd.ini w/o the need to restart TC
» cm_RereadTC