Fixed TCMD /X option

Apr 13, 2010
The Hague
The help text says that TCMD.XML should be in the same dir as TMCD.INI.

It is unclear who / what writes the initial version. I have never succeeded in generating one?
What happens if you use a non-standard name and location for the configuration file?

I have no problem with the file being called TCMD.XML but I would request that its location is the same as the configuration file.

Regards, DJ
May 20, 2008
Syracuse, NY, USA
Just start TCMD.EXE with the /X option. The XML file will be created when TCMD exits. Here it was put in TCMD's home directory (where the INI file is).
Apr 13, 2010
The Hague
Hi Vince,
Thank you for your reply.

Like I said, I have never seen this work.
TCMD.XML never appears. EVERYTHING can't find it.
I quoted the help-file for a reason: maybe TC doesn't create the file because my ini-files are in none of the default locations. It would be an easy mistake to make but I have no way of checking, of course.

The reason I'm looking at this little titbit is that in tcmd my File-Explorer sometimes disappears. I personally prefer it pinned and on the right side of the window. After a while, immediately after starting TC, the Explorer is unpinned and at the top of the window again. Most irritating.

I was hoping to solve this problem by using the /X option but that doesn't work either. Maybe the two are related.

Regards, DJ
May 20, 2008
Syracuse, NY, USA
I don't know. I had never tried it before. I just started TCMD with the /X option and closed it. The XML file was there. Depending on your set-up, it might be trying to write to a place where it doesn't have permission. Can you locate your INI file? Did you look there?
May 20, 2008
Syracuse, NY, USA
If you have ProcessMonitor (SysInternals/Microsoft) you can set it up like this and see it (hopefully) accessing the XML file (after you wade through hundreds of records. If TCMD tries and fails, there should be a record of the failure.


Apr 13, 2010
The Hague
That was an excellent suggestion!

TC tries and fails to write %ProgramFiles\JPSoft\TCMD28\TCMD.xml,
... and there is no TCMD.ini in that location.

I attached the screenshot.

So, I feel supported in my original hypothesis that the prerequisite "TCMD.XML should be in the same dir as TMCD.INI" has something to do with this failure. I suspect TC isn't checking the value of _ininame but is traversing the defaults.



  • Afbeelding1.png
    68.1 KB · Views: 15


Staff member
May 14, 2008
The TCMD.XML option was added for a corporate customer whose IT department was a tad over-zealous and was blocking all user registry writes (including to HKCU). Everybody else (99.99+ % of the TCMD users) shouldn't be using it; it provides no benefit and it significantly slower when starting & exiting TCMD.

I identified a potential problem in TCMD (which depended on several other interacting factors) where the TCMD.XML file was not written to the TCMD.INI directory. This has been fixed for the next build. (But you still shouldn't be using it!)
Similar threads
Thread starter Title Forum Replies Date
rps TCMD Tabs priority option setting Support 0
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
I TC "Registering" but NOT Registering, Now Hung on TCMD Option Screen Support 2
G tcmd v11 installation option for pinning to taskbar Support 3
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16
P Symantec Endpoint Protection trapped TCMD.EXE and said it contained WS.Reputation.1 (Virus?) Support 3
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
D Tcmd 22.00.42 - annoying desktop refresh Support 47
CWBillow Context menu extensions for TCC/TCMD v18? Support 1
vefatica Pasting into TCMD via right-click menu? Support 2
M Please explain TCMD's ANSI x3.64 support Support 4

Similar threads