[SOLVED]How do I store TotalCommander settings on the disk?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
wolf5
Junior Member
Junior Member
Posts: 9
Joined: 2006-04-10, 22:10 UTC

[SOLVED]How do I store TotalCommander settings on the disk?

Post by *wolf5 »

I want to be able to store my usersettings for later use or when I run it on another machine.
How can I use TotalCommander like in the old days where everything lay in the wincmd.ini?

I keep reinstalling TotalCommander and having to set it all up again over and over at work when I retank my machine, that happens once in a while. Also I am using virtual pc with totalcmd, so I have to set up my stuff there as well. And once I log on with another of my users it's all over again. Feel like I've done this 100eds of times over the years.

Where is it stored today? Maybe I can export the regsettings for later use.
Last edited by wolf5 on 2006-04-27, 17:17 UTC, edited 1 time in total.
wolf5
Junior Member
Junior Member
Posts: 9
Joined: 2006-04-10, 22:10 UTC

Post by *wolf5 »

Nm that. Found it on the wiki. Tried searching the forum with no result.

Never did know where that wincmd.ini went. Normally it allways followed the EXE.

I found it lying in C:\windows

Anyone know of a way to allways keep wincmd.ini with the executable?
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Some tools to help you:
http://www.totalcmd.net/plugring/TotalRun.html
http://www.totalcmd.net/plugring/tcloader.html
AFAIK, the registry does not store anything critical for TC. At least, it's the case on my own computer :)
One more advice: use %COMMANDER_PATH% envvar instead of specific paths. In other words, paths should be relative rather than absolute.
Single user license #329241
PowerPro scripts for Total Commander
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

wolf5 wrote:Anyone know of a way to allways keep wincmd.ini with the executable?
Move the wincmd.ini and wcx_ftp.ini into the programdir and add the entry:

Code: Select all

[Configuration]
UseIniInProgramDir=7
For explanation just have a look at the Wiki

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
wolf5
Junior Member
Junior Member
Posts: 9
Joined: 2006-04-10, 22:10 UTC

Post by *wolf5 »

Thanks. Having the wincmd.ini along with the EXE makes my life a lot easier :-)
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

Not only for easyness, an ini-file should be in its program directory. Because it's the first place the system will look. Only if it cannot be found there, the sys will check the dirs in the windows-path.
This also will keep the system cleaner in case of removal of a program.

One of the apps I use, has during the installation a popup with options to choose the location of its ini-file. At least, if one is so dumb to choose for the windows-dir, one knows where to find it.
0.618033988
User avatar
Rein de Jong
Senior Member
Senior Member
Posts: 393
Joined: 2005-01-30, 20:26 UTC
Location: NL
Contact:

Post by *Rein de Jong »

Not only for easyness, an ini-file should be in its program directory. Because it's the first place the system will look. Only if it cannot be found there, the sys will check the dirs in the windows-path.
This also will keep the system cleaner in case of removal of a program.
I would love it when this option was default in stead of placing the ini in the windows dir. On every system I give help. I install TC but have to think about this option every time :-(
Groetjes/
______/Rein

--- Moderator NL-forum ---
zie ook: https://www.reindejong.nl/totcmd
Post Reply