TC doesn't hook-up *.INI settings files in its folder

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Sektor
Member
Member
Posts: 157
Joined: 2007-04-04, 10:11 UTC
Location: Russia

TC doesn't hook-up *.INI settings files in its folder

Post by *Sektor »

I had the following situation after re-installing Windows.
1. Before re-installing Windows, TC was installed in D:\totalcmd\ (non-system disk).
2. After re-installing I didn't install TC again, but directly ran TC from D:\totalcmd\.
3. After launching, TC didn't hook-up *.ini files from D:\totalcmd\, but created default *.ini files in %AppRoaming%\GHISLER\ and used them. As you

So, I was wondering why TC doesn't hook-up *.ini settings. I used ProcMon. Here's what I've got. As you can see, TC does lookup its folder, but for some reason doesn't find *.INI files.

OS: Windows 10 Home x64 1803 build 17134.20
TC: 9.21a x64 [Admin mode]
License #299429
There is no knowledge that is not power
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6489
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC doesn't hook-up *.INI settings files in its folder

Post by *Horst.Epp »

Sektor wrote: 2018-09-30, 12:37 UTC I had the following situation after re-installing Windows.
1. Before re-installing Windows, TC was installed in D:\totalcmd\ (non-system disk).
2. After re-installing I didn't install TC again, but directly ran TC from D:\totalcmd\.
3. After launching, TC didn't hook-up *.ini files from D:\totalcmd\, but created default *.ini files in %AppRoaming%\GHISLER\ and used them. As you

So, I was wondering why TC doesn't hook-up *.ini settings. I used ProcMon. Here's what I've got. As you can see, TC does lookup its folder, but for some reason doesn't find *.INI files.

OS: Windows 10 Home x64 1803 build 17134.20
TC: 9.21a x64 [Admin mode]
I guess you doesn't have the following line in your wincmd.ini:
UseIniInProgramDir=7
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
Stefan2
Power Member
Power Member
Posts: 4157
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: TC doesn't hook-up *.INI settings files in its folder

Post by *Stefan2 »

Sektor wrote: 2018-09-30, 12:37 UTCSo, I was wondering why TC doesn't hook-up *.ini settings.
TC doesn't lookup the INI in his own folder on default, but (nowadays) in %AppData%\GHISLER
(c:\users\yourusername\AppData\Roaming\GHISLER\)

See the Help menu > "About Total Commander > INI files" to see where your INIs are located.

If you know how Windows works, you can change that yourself:
You need write access to that folder of TC for now and ever!
Close TC, move the two INIs to the TC folder.
Modify the WINCMD.ini and add the line 'UseIniInProgramDir=7' somewhere in [Configuration] section.
From now on, TC use this INIs in the TC folder.



 
Sektor
Member
Member
Posts: 157
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: TC doesn't hook-up *.INI settings files in its folder

Post by *Sektor »

@Horst.Epp, @Stefan2 Thanks a lot! Works a treat! 👍
License #299429
There is no knowledge that is not power
Post Reply