Trying to make TC read my INI files

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
PET
Junior Member
Junior Member
Posts: 20
Joined: 2008-10-26, 21:38 UTC

Trying to make TC read my INI files

Post by *PET »

Hello there,

I just reinstalled my windows. I always keep my totalcmd folder on the D: drive.
The INI files: wincmd.ini & wcx_ftp.ini are in the same folder.

The start of the wincmd.ini is:
[Configuration]
InstallDir=D:\totalcmd
Which is the same folder...

so how do I tell Totalcmd to use those INI files and not some default... stuff?
User avatar
Dalai
Power Member
Power Member
Posts: 9402
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Set

Code: Select all

UseIniInProgramDir=7
in your wincmd.ini.
TC help, section 4.b) wrote:UseIniInProgramDir=0
This variable will only be read if the wincmd.ini is located in the same dir as the program. It must be put in wincmd.ini directly, RedirectSection has no effect on this variable.
It is the sum of the following values:
1: Use wincmd.ini in program dir if no other location is set via registry or parameters
2: Use wcx_ftp.ini in program dir if no other location is set via registry or parameters
4: Override registry settings (but not command line parameters)
The forum has more details as well.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
PET
Junior Member
Junior Member
Posts: 20
Joined: 2008-10-26, 21:38 UTC

Post by *PET »

THanks for the help!
Post Reply