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

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6497
Joined: 2003-02-06, 17:36 UTC
Location: Germany

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

Post 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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

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

Post 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
:?:
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

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

Post 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
Overquoting is evil! 👎
Post Reply