Page 1 of 1

Add a cm_command to re-read the wincmd.ini w/o the need to restart TC

Posted: 2024-03-26, 11:02 UTC
by Stefan2
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?

Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC

Posted: 2024-03-26, 11:48 UTC
by Horst.Epp
Stefan2 wrote: 2024-03-26, 11:02 UTC Or should we use cm_Exit for that?
For me that is enough as such Ini modifications are not happens often.

Re: Add a cm_command to re-read the wincmd.ini w/o the need to restart TC

Posted: 2024-03-26, 13:43 UTC
by tuska
Stefan2 wrote: 2024-03-26, 11:02 UTC Or should we use cm_Exit for that?
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

Posted: 2024-03-26, 16:22 UTC
by Fla$her
Stefan2 wrote: 2024-03-26, 11:02 UTC F.ex. I want to modify the ini to adjust a line like this:
cm_ChangeKeyMainIni with apply