External editor for TC config files
Moderators: Hacker, petermad, Stefan2, white
External editor for TC config files
With Config / Change Config Files Directly you can comfortably call the TC settings files into an editor.
But the use of notepad.exe seems to be hardcoded here (?).
I have set an external editor in TC and even assigned the extension INI to be opened by it.
But TC still calls notepad.exe to edit its config files.
Suggestion:
IMO it would be better to load them to the user-configured external editor instead (if present),
to use its syntax highlighting, multiple files in one window, etc.
If the configured entry for external editor is invalid (file not found) notepad could be used instead.
Workaround I use right now:
I've configured an entry in dir menu to open the files with the external editor.
But the use of notepad.exe seems to be hardcoded here (?).
I have set an external editor in TC and even assigned the extension INI to be opened by it.
But TC still calls notepad.exe to edit its config files.
Suggestion:
IMO it would be better to load them to the user-configured external editor instead (if present),
to use its syntax highlighting, multiple files in one window, etc.
If the configured entry for external editor is invalid (file not found) notepad could be used instead.
Workaround I use right now:
I've configured an entry in dir menu to open the files with the external editor.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Another wokraround:
http://www.ghisler.ch/wiki/index.php/Ultra_TC_Editors
http://www.ghisler.ch/wiki/index.php/Ultra_TC_Editors
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
2StatusQuo
Support+
I also have an own menu entry to open the INIs in my favorite editor, or use the UTC editors. But an option like...
...that would use the defined F4-editor when cm_ConfigChangeIniFiles is invoked would indeed be nice.
Not vital of course, but a useful little addition IMO. So at least some users (2 so far
) won't need custom menu entries for that anymore.
Support+
I also have an own menu entry to open the INIs in my favorite editor, or use the UTC editors. But an option like...
Code: Select all
ConfigChangeIniFilesExternalEditor=[0|1]
Not vital of course, but a useful little addition IMO. So at least some users (2 so far

Re: External editor for TC config files
Yup, this has been requested again and i fully support it.StatusQuo wrote:Suggestion:
IMO it would be better to load them to the user-configured external editor instead (if present)
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: External editor for TC config files
I said before, but: support+=2;wanderer wrote:Yup, this has been requested again and i fully support it.StatusQuo wrote:Suggestion:
IMO it would be better to load them to the user-configured external editor instead (if present)
The TC config file can have another extension:StatusQuo wrote:I have set an external editor in TC and even assigned the extension INI to be opened by it.
http://www.ghisler.ch/board/viewtopic.php?p=63488#63488
The reason is: User can use a HEX-Editor or something else in F4, unsuitable to edit INI -files.StatusQuo wrote:But TC still calls notepad.exe to edit its config files.
My support for this request, especially tabbed editors could be very useful for this task !StatusQuo wrote:Suggestion:
IMO it would be better to load them to the user-configured external editor instead (if present),
to use its syntax highlighting, multiple files in one window, etc.
So did I, in v7 a em_command to open the current config file for every instance.StatusQuo wrote:Workaround I use right now:
I've configured an entry in dir menu to open the files with the external editor.
Put the path to your editor and use "%commander_ini%" as parameter in the command -field. (See Code)
StatusQuo wrote:But the use of notepad.exe seems to be hardcoded here (?).
Code: Select all
Command: %WINDIR%\notepad.exe %commander_ini%
TC 6.55 and %Commander_INI%
[REQ] %MAIN_INI% and %FTP_INI% for locating TC's INI files
Great, thanks. This way it gets as flexible as the menu command should be.Stance wrote:Put the path to your editor and use "%commander_ini%" as parameter in the command -field. (See Code)Code: Select all
Command: %WINDIR%\notepad.exe %commander_ini%
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Hi, For edit the wcx_ftp.ini file with your favorite editor:
Put in Cmd=<your editor>
Code: Select all
[em_ftp_cfg]
Menu=Edit FTP settings...
Cmd=notepad.exe
Param=wcx_ftp.ini
Path=%COMMANDER_INI%\..
I can read English, but... I write like Tarzan. (sorry)