How to? @REGEXIST

I am using;
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
 
May 20, 2008
10,634
81
Syracuse, NY, USA
The help for @REGEXIST doesn't mention HKCU (which seems odd).

That said, HKCU does work. But @REGEXIST is for keys, not values (and "RemotePath" is a value).
 
Thread starter Similar threads Forum Replies Date
C Support 6