Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Which copy of TCMD.ini?

Jul
316
0
I show three copies of TCMD.ini: C:\ProgramData\JP Software\Take Command 27\TCMD.INI, C:\Program Files\JPSoft\TCMD27\TCMD.INI, and C:\Users\All Users\JP Software\Take Command 27\TCMD.INI.

DO I need all three? I have been trying to "fix" the colors of TCC, and it seems to have fixed itself "out of the blue."

Which of these files is the "critical piece", and can I delete the other two, or copy the "one" over the other two?
 
The internal variable %_ininame will tell you the name of the INI file that TCC is actually using. Here is what I see:

Code:
>echo %_ininame
"C:\ProgramData\JP Software\Take Command 32\TCMD.INI"

Another clue might have come from looking at the modification dates for the three files.
 
I show three copies of TCMD.ini: C:\ProgramData\JP Software\Take Command 27\TCMD.INI, C:\Program Files\JPSoft\TCMD27\TCMD.INI, and C:\Users\All Users\JP Software\Take Command 27\TCMD.INI.

DO I need all three? I have been trying to "fix" the colors of TCC, and it seems to have fixed itself "out of the blue."

Which of these files is the "critical piece", and can I delete the other two, or copy the "one" over the other two?
Please be aware that "C:\Users\All Users\" is a symbolic link to "C:\ProgramData\", so if by mistake You delete one of the two files, also the other one will disappear. You can test this creating a test file in "C:\ProgramData\JP Software\Take Command 27\" and You will see it also in "C:\Users\All Users\JP Software\Take Command 27\".
regards
Rodolfo Giovanninetti
 
How does it work? What determines whether you get TCMD.INI in various canonical places? I have only these.

Code:
v:\> everything tcmd.ini
D:\tc11\tcmd.ini
D:\tc24\tcmd.ini
D:\tc25\tcmd.ini
D:\tc25x86\tcmd.ini
D:\tc26\tcmd.ini
D:\tc27\tcmd.ini
D:\TC28\tcmd.ini
D:\TC28\ssh\tcmd.ini
D:\tc29\tcmd.ini
D:\tc30\tcmd.ini
D:\tc31\tcmd.ini
D:\tc32\tcmd.ini
D:\tc33\tcmd.ini
D:\tccle14\tcmd.ini
 
How does it work? What determines whether you get TCMD.INI in various canonical places? I have only these.

This is documented in the help:

Locating the TCMD.INI File

When starting Take Command or a Take Command Console (TCC) shell:

Onestep
If there is an @d:\path\inifile option on the startup command line, Take Command will use the path and file name specified there.

Onestep
Otherwise, the default TCMD.INI file name is used, and the search starts in the directory where the Take Command program file is stored. If the .INI file is not found, Take Command will look in the "%PROGRAMDATA%\JP Software\Take Command 32" directory, and finally in the %LOCALAPPDATA% directory.
 
Back
Top
[FOX] Ultimate Translator
Translate