How can I start TC with specific wincmd.ini automatically
Moderators: white, Hacker, petermad, Stefan2
How can I start TC with specific wincmd.ini automatically
I am using a portable edition TC, and the "wincmd.ini" is in TC's root directory on my own computer. Now I want to carry it with my U-disk to my office and run it on the U-disk. However, the directories are pretty different between the two computers. I would like to save specific settings for them seperately in two wincmd.ini files. i.e "wincmd_work.ini" and "wincmd_home.ini". How can I start TC with "wincmd_home.ini" at home and "wincmd_work" at work automaticlly? Any reply is appreciated.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2hiforrest
Take a look into Help file (4.a. Command line parameters) and the answer will be clear:
1. replace any strings to TC's path to %COMMANDER_PATH% in INI files,
2. create proper shortcuts (via Windows, batch files or special tools) for starting Total Commander with parameter:
/i=name.ini
where "name.ini" is your specific INI file.
PS For 2nd point I recommend some portable launchers (like PStart) for that step.
Take a look into Help file (4.a. Command line parameters) and the answer will be clear:
1. replace any strings to TC's path to %COMMANDER_PATH% in INI files,
2. create proper shortcuts (via Windows, batch files or special tools) for starting Total Commander with parameter:
/i=name.ini
where "name.ini" is your specific INI file.
PS For 2nd point I recommend some portable launchers (like PStart) for that step.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
-
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
Maybe I didn't unterstand the problem. I assume that all INI should be saved at TCs folder on U-stick e.g. E:\totalcmd and that the system variable %COMPUTERNAME% is set and different on both computers.
Then
E:\totalcmd\wincmd.ini could be contain:
If only some sections of wincmd.ini should be different then remove "AlternateUserIni" and add "RedirectSection" to every section which should be redirected.
For further information please have a look at help section 4.b).
Then
E:\totalcmd\wincmd.ini could be contain:
Code: Select all
[Configuration]
UseIniInProgramDir=7
AlternateUserIni=wincmd_%COMPUTERNAME%.ini
RedirectSection=wincmd_%COMPUTERNAME%.ini
For further information please have a look at help section 4.b).
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
- sqa_wizard
- Power Member
- Posts: 3864
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
I use LaunchTC by Lefteous for this purpose.
- It is portable (and starts TC portable)
- You can use different INI files
- run as different user, if required
- It is portable (and starts TC portable)
- You can use different INI files
- run as different user, if required
#5767 Personal license