Portable (USB) Version of TC Does Not Save Settings

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
InterPur
Junior Member
Junior Member
Posts: 4
Joined: 2006-03-05, 15:05 UTC
Contact:

Portable (USB) Version of TC Does Not Save Settings

Post by *InterPur »

I use TC (7.50a) from my USB stick a lot. Unfortunately, no matter what I put in the .INI file, I still have to configure it every time I start TC on a different PC. It seems that I am not able to configure the portable (USB) version to remember my settings. Is this normal for the portable (USB) version, or am I missing something.

e.g. - I have set my .INI file to "Show Hidden Files", but have to configure it every time when running from a USB stick on a different PC.

Any advice will be appreciated.

Thanks,
InterPur
WhACKO
Junior Member
Junior Member
Posts: 67
Joined: 2009-04-07, 11:17 UTC

Post by *WhACKO »

You can either add UseIniInProgramDir=7 to load the wincmd.ini from the same folder as TC is in, or you can create a shortcut and use the command line parameter /i=name.ini to load the ini from wherever you want. ;)

Check the help file for additional info.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Running TC from USB-Stick: Which wincmd.ini file is used ?

See Menu : Help - About Total Commander ...
#5767 Personal license
InterPur
Junior Member
Junior Member
Posts: 4
Joined: 2006-03-05, 15:05 UTC
Contact:

Post by *InterPur »

To WhACKO:

Your suggestion of adding:

UseIniInProgramDir=7

to the WINCMD.INI file did the trick. Of course, this assumes that the desired WINCMD.INI file is in fact located in the TC directory.

Thanks!

Regards,
InterPur
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, InterPur.
InterPur wrote:UseIniInProgramDir=7
to the WINCMD.INI file did the trick. Of course, this assumes that the desired WINCMD.INI file is in fact located in the TC directory.
Confirmed.
totalcmd.chm => 4.b. INI-File settings: wincmd.ini 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)
Bold emphasis added by me.
Cheers,
Karl
Post Reply