//directive ignored on TCC command-line

x13

Nov 9, 2016
72
1
Netherlands
Hi all.

Here's a little tricky one...

In my TCMD.INI file, TCStartPath=D:\BAT (the point is not to have to change it to solve my problem below)

This happens :

C:\>"C:\Program Files\TCC.exe" //TCStartPath=C:\ something.BTM
Error on line 160 of C:\ProgramData\JP Software\Take Command 20.0\TCMD.INI:
Invalid path or file name for "TCStartPath=D:\BAT"


(path is deemed "invalid" because at the time D: is BitLocked)

I tried "//TCStartPath=C:\" but that didin't work either.

Ignoring the lock, shouldn't directives speficied after // not be checked against TCMD.INI ?
What am I missing here?

Running v20.11.46

Thanks.
Mark/x13
 

x13

Nov 9, 2016
72
1
Netherlands
So that means some directives cannot be overriden with "//" ?
I don't remember reading that in the docs...

I'll have to find another way then.
 

rconn

Administrator
Staff member
May 14, 2008
11,910
133
Any directive can be overridden with a subsequent "//...". However, that won't prevent TCMD / TCC from returning an error when it reads the TCMD.INI *before* you've overridden the directive.

See the "NoINIErrors" advanced directive in the help file if you don't want TCMD / TCC to display an error.