- Aug
- 2,320
- 111
Code:
_x64: 1
_admin: 1
_elevated: 1
TCC 32.00.14 x64 Windows 10 [Version 10.0.19045.4291]
I would like to determine if DIRENV is ON or OFF.
Seeing if DIRENV is on or off via the TCMD.INI file
only returns results if DIRENV is indeed in the TCMD.INI file,
which in mine,
it is not.
So, I am attempting to see what the DIRENV command returns.
Code:
E:\Utils>direnv
E:\Utils>echo %@execstr[direnv]
DIRENV is OFF
E:\Utils>echo %@word[0,%@execstr[direnv]]
DIRENV
E:\Utils>echo %@word[1,%@execstr[direnv]]
is
E:\Utils>echo %@word[2,%@execstr[direnv]]
0=DIRENV
1=is
2=
Why can I not retrieve the third word,
which should be OFF or ON?
Joe