- Aug
- 2,033
- 82
I am using;
When I run the following;
According to the help file,
So, a 0 means that this key does not exist.
When I run the following;
I get the value of the key, even though @REGEXIST says it does not exist.
Does anyone else see this type of result, that is, @REGEXIST says that a key does not exist, when it actually does?
Joe
Code:
TCC 20.00.21 Windows Vista [Version 6.0.6002]
TCC Build 21 Windows Vista Build 6002 Service Pack 2
When I run the following;
Code:
echo %@REGEXIST["HKCU\Network\O\RemotePath"]
0
According to the help file,
Code:
Returns 1 if the specified key exists, 0 otherwise
So, a 0 means that this key does not exist.
When I run the following;
Code:
echo %@REGQUERY["HKCU\Network\O\RemotePath"]
\\192.168.1.102\DOSBox
I get the value of the key, even though @REGEXIST says it does not exist.
Does anyone else see this type of result, that is, @REGEXIST says that a key does not exist, when it actually does?
Joe