Running several TCMD versions side-by-side - config files

May 30, 2008
235
2
It seems that when you install a new TCMD version (like TCMD12 beta) side-by-side with an older version and also use the default location (APPDATA\Jpsoft) for TCMD configuration data (inifile etc.) all versions will share the same configuration data files.

Not quite ideal in my view, the new version might contain new settings which will not work in the old version for instance. You might also want to keep the settings in the new version separate for experimentation and such.

What would be the simplest way to use a new fresh set of configuration files for the newest version?
 
What would be the simplest way to use a new fresh set of configuration files for the newest version?

Hi,
I keep the TCMD.INI file in the respective TCMD1x directory.

When you move the TCMD.INI file from it's default location, use the %_ININAME to show that this is indeed the TCMD.INI file that will be used.

This way, I can configure each version the way that I want.

If you do a search in the help file for ini, you can read more about this in the section "Initialization (INI) Files".

One thing that is confusing in this section is the reference to %LOCALAPPDATA%. This is not an environment variable on my XP SP3 system. This is only by default found on Vista OS and above.

Nowhere in the section does it mention the %_ININAME internal variable, which I find more useful for locating the TCMD.INI file than %LOCALAPPDATA%. I'm still using XP SP3, and I'm sure that many others are as well.

%LOCALAPPDATA% can be accessed on an XP system by clicking Start, Run, and then typing;

Code:
shell:Local AppData
Joe
 
Jun 2, 2008
376
2
Newton, MA
Running several TCMD versions side-by-side

I've been having a big problem with this myself. Indeed, the INI files
have resulted in some conflicts.

How can I get TCMD12 to use a different INI file? The LNK file refuses
to let me add an argument to the command line. Even when I create a new
LNK file using the SHORTCUT command, TCMD12 launches with the default
INI file (perhaps I'm making a syntax mistake).

-- Jay
 
May 29, 2008
571
4
Groton, CT
...
%LOCALAPPDATA% can be accessed on an XP system by clicking Start, Run, and then typing;

Code:
shell:Local AppData
Joe

And you can define it in your TCSTART.BTM with
Code:
if not defined localappdata set localappdata=%@shfolder[28]
 

rconn

Administrator
Staff member
May 14, 2008
12,365
150
Re: Running several TCMD versions side-by-side

I've been having a big problem with this myself. Indeed, the INI files have resulted in some conflicts.

How can I get TCMD12 to use a different INI file? The LNK file refuses
to let me add an argument to the command line. Even when I create a new
LNK file using the SHORTCUT command, TCMD12 launches with the default
INI file (perhaps I'm making a syntax mistake).

-- Jay

Are you prefacing the @ with a /? Windows will truncate any argument beginning with @ in a shortcut; see the help file (Take Command Startup Options) for details.
 
C

CSGalloway@nc.rr.com

Guest
Running several TCMD versions side-by-side

I am doing what you want so my shortcut command is:

<wheverever> shortcut "Take Command 12.0.lnk"

Command=C:\PROGRA~1\JPSoft\TCMD12\tcmd.exe
Arguments=/@D:\TakeCommand\INIs\TCMD_v12.ini
Directory=C:\Documents and Settings\Charles\
Description=Execute Take Command v12.00.24
Link=Take Command 12.0.lnk
IconOffset=0
Mode=1
Hotkey
and if you create the link using EXPLORER then
----- Original Message -----
From: Jay Sage
To: CSGalloway@nc.rr.com
Sent: Monday, August 23, 2010 10:03 AM
Subject: RE: [Support-t-2273] Running several TCMD versions side-by-side


I've been having a big problem with this myself. Indeed, the INI files
have resulted in some conflicts.

How can I get TCMD12 to use a different INI file? The LNK file refuses
to let me add an argument to the command line. Even when I create a new
LNK file using the SHORTCUT command, TCMD12 launches with the default
INI file (perhaps I'm making a syntax mistake).

-- Jay
 
May 30, 2008
235
2
Thanks for all answers!

Seems the best way is to modify the TCMD12 beta shortcut to use a different INI-file.

It would perhaps be a good idea for this to be done automatically by the installation program. At least if there's a previous version already installed. Might be a user selectable option, like the current "Overwrite existing or use side-by-side".
 
Jun 2, 2008
376
2
Newton, MA
Re: Running several TCMD versions side-by-side

>
> Are you prefacing the @ with a /? Windows will truncate any argument beginning with @ in a shortcut; see the help file (Take Command Startup Options) for details.
No, I had missed that information. That solved the problem. Thanks.

-- Jay
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Running services.msc? Support 1
gentzel Directory stack empty when running TCEXIT? Support 9
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
MickeyF running program from script and (not) returning to script Support 12
J Error running Python at command line Support 9
Peter Murschall Uninstall CMDEBUG is not running Support 3
T Fixed IDE locks up if edit window for running batch is closed Support 6
C Running PowerShell_ISE in a Tab Support 7
B How to get window status of a running app Support 3
rconn News Website & Forums now running PHP 7 Support 0
D Running v19 breaks v18 Support 1
vefatica JUMPLIST item when pinned TCMD isn't running? Support 0
MickeyF running a program from cmdline versus in batch file Support 1
B Batch file won't run if there is already an instance of TC 17 running Support 9
rjperrella start /tabna leaves blank windows when running batch scripts Support 10
T Fixed TCC 17: Error running Chocolatey Package Manager Support 3
vefatica Caption when running elevated? Support 4
C Determine process svchost is running Support 13
F Minimising the command window running from a batch file Support 19
D How to? Problem running Mercurial with Araxis Merge Support 3
vefatica Running TCMD's help on the services desktop Support 0
H Ruby - Running External Ruby script crashes TCC Support 11
J TC12 Win7 console, running gawk scripts Support 0
M Running a batch file at Windows startup... Support 8
vefatica Browser doesn't start while IDE is running Support 12
J Crash in 12.00.27: Running any git command from Git for Windows Support 10
R No Error Message when running mklink as limited user Support 3
B Installed/Running in Windows 7? Support 3
mscheuner Running one tab as Vista admin - ERROR Support 1
deleyd command that launches batch file running TCMD? Support 6
J 4NT Error when running 'system' from a program to execute a .BTM Support 3
p.f.moore Running another batch file without CALL Support 7
S How to? Download TCMD only once to update several computers Support 4
JohnQSmith Fixed Copying with regex (several issues) Support 7
S Take Command LE (32 bit) locking up several times a day Support 14
Juanma Barranquero Several nitpicks and a crash in TCMD 11 x64 / Windows 7 Support 17
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
D Fixed TCMD /X option Support 7
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9

Similar threads