START > Run then entered:
"C:\Program Files\JPSoft\TCMD11\tcmd.exe" /@D:\TakeCommand\INIs\TCMD_v11.ini
inside TCMD 11:
echo %_ININAME
%localappdata%\JPSoft\TCMD.INI
Just not sure why it doesn't return "D:\TakeCommand\INIs\TCMD_v11.ini"
----- Original Message -----
From: Charles (RR) Galloway
To:
Sent: Saturday, May 15, 2010 11:08 PM
Subject: Re: [Support-t-1971] location of .ini file
If 2/ is used below - why does echo @_ININAME return %localappdata%\Jpsoft and not the path of the file specified in command line?
----- Original Message -----
From: Steve Fábián
To: CSGalloway@nc.rr.com
Sent: Saturday, May 15, 2010 02:26 PM
Subject: RE: [Support-t-1971] location of .ini file
| As I read it, the help on location of the .ini file says that it
| should either live with tcmd.exe (on my system that's "c:\Program
| Files\JPSoft\tcmd11\") or in a directory specified by the "/@"
| switch on the startup line or where "%localappdata%" points to.
| That's mostly as I remember it from 4DOS. My startup line as
| shown in 'properties' of the "TC" desktop icon, contains no
| switch, and "%localappdata%" is not set. I find my .ini file is in
| fact in "c:\Documents and Settings\...\Application Data\JPSoft\".
|
| Did I miss something?
I presume your OS in WinXP, because that variable is not explicitly set by
the OS in WinXP, only in Vista or Win7. There is an oversight in the HELP
file on this issue relating to WinXP, where the OS does not define
LOCALAPPDATA. A more appropriate description would be:
The initialization file is selected in the manner below:
1/ if starting TCC.EXE and either the /I or the /II option is set, NO
initialization file is used, else
2/ if explicitly specified in the command line (using the @ character), that
file is used, else
3/ if %@path[%_cmdspec]\TCMD.INI exists, that file is used, else
4/ if %@shfolder[28]\TCMD.INI exists, that file is used, else
5/ NO initialization file is used.
--
HTH, Steve