Reload ini files without restart TC
Moderators: Hacker, petermad, Stefan2, white
Reload ini files without restart TC
I'm sure it was requested and discussed in the old 7.0 beta time, but I didn't found it,
and I have no notice about the result. So I suggest here again:
Please add the function in TC to reload the ini files after manual changes on these.
This solves the behavior to restart the TC every time after small changes on the ini files.
mf
and I have no notice about the result. So I suggest here again:
Please add the function in TC to reload the ini files after manual changes on these.
This solves the behavior to restart the TC every time after small changes on the ini files.
mf
Bankster - Word of the Year 2009
TC(English): Reload wincmd.ini?I'm sure it was requested and discussed in the old 7.0 beta time, but I didn't found it,
cm_UnloadPlugins ?.. support added for reloading plugins ..
Regards
Holger
Oh YES !
2Boofo
Hi Bob !
KR
Claude
Clo

• Of course, I agree and support that way to solve the issue !Yes, but it would be nicer to have an internal command for the restart.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Of course! I add it as a seperate button in the main menu -> configuration.
But you can also add it to the button bar.
1st edit the usercmd.ini and add following entry (the directories are dependend from your installation):
2nd Edit your used menu file i.e. WCMD_ENG.MNU and add following in the Configuration section:
Now, restart TC.
If you want, you can add it to the button bar, then skip 2nd. In button bar you can also show
the icon, in the menu it isn't shown. See also here.
You have to add a new button, then select the loupe on the end of the command line
and then go down on the left side of the new window and select the usercmd.ini.
Then you will find the commands are in it. Select it, press OK, and then it's working.
It's harder to describe it as it to do.
Hint: For 2nd you can use the Main Menu Editor from the Ultra TC Editors.
mf
But you can also add it to the button bar.
1st edit the usercmd.ini and add following entry (the directories are dependend from your installation):
Code: Select all
[em_usercmd609]
menu=Restart TC
cmd=ReloadTC.exe
button=D:\Util\Viewer\WinCmd\Plugins\Util\ReloadTC\ReloadTC.exe
path=%COMMANDER_PATH%\Plugins\Util\ReloadTC
Code: Select all
MENUITEM SEPARATOR
MENUITEM "Restart TC", em_usercmd609
Now, restart TC.
If you want, you can add it to the button bar, then skip 2nd. In button bar you can also show
the icon, in the menu it isn't shown. See also here.
You have to add a new button, then select the loupe on the end of the command line
and then go down on the left side of the new window and select the usercmd.ini.
Then you will find the commands are in it. Select it, press OK, and then it's working.
It's harder to describe it as it to do.

Hint: For 2nd you can use the Main Menu Editor from the Ultra TC Editors.
mf
Bankster - Word of the Year 2009
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
I already had it in the button bar, but I went the long route for that. This is much easier. I didn't have a usercmd.ini file before now, it seems.
How do you figure out which identifier to use (the 609)? And where would be the best place to add it in the menu? I use Pertermad's Extended Menu set.
How do you figure out which identifier to use (the 609)? And where would be the best place to add it in the menu? I use Pertermad's Extended Menu set.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
The 609 is only a phantom number you can use any number you want, i.e 501 if you like these jeans.
For me it's the 6th menu and the 9th entry in it. I'm an Prussian and all must have his accurateness. lol
As I have a button to edit the wincmd.ini also in the configuration section, so it make sence to place the
restart button there too.
I didn't use the extended menu set, it's to overloaded for me.
mf

For me it's the 6th menu and the 9th entry in it. I'm an Prussian and all must have his accurateness. lol
As I have a button to edit the wincmd.ini also in the configuration section, so it make sence to place the
restart button there too.
Code: Select all
[em_usercmd603]
Menu=wincmd.ini editieren
cmd=Notepad.exe %COMMANDER_INI%
button=D:\Util\Viewer\WinCmd\WCMICONS.DLL,28
mf
Bankster - Word of the Year 2009
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
I ended up putting it in the Help menu as the last item. What is the 6th menu and 8th item for you then? What range of numbers can we use and not screw anything else up?
And thank you for all the help. This is slick!
And thank you for all the help. This is slick!

chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
The 6th menu is the coniguration menu:
1st Files
2nd Mark
3rd Commands
4th Net
5th Show
6th Configuration
7th Start
8th Help
The 8th Item is the Separator:
mf
1st Files
2nd Mark
3rd Commands
4th Net
5th Show
6th Configuration
7th Start
8th Help
The 8th Item is the Separator:
Code: Select all
POPUP "&Konfigurieren"
MENUITEM "&Einstellungen...", cm_config
MENUITEM "B&uttonbar ändern...", cm_ButtonConfig
MENUITEM "&Wincmd.ini editieren", em_usercmd603
MENUITEM "&Usercmd.ini editieren", em_usercmd604
MENUITEM "Einstellungs&dateien direkt ändern...", 581
MENUITEM "P&osition speichern", cm_configSavepos
MENUITEM "Einstellungen &speichern", 580
MENUITEM SEPARATOR
MENUITEM "Restart TC", em_usercmd609
END_POPUP
Bankster - Word of the Year 2009