ankap Posted January 9, 2005 Posted January 9, 2005 How can I make to check not for file but for registry key or value?It is more useful.
MCT Posted January 9, 2005 Posted January 9, 2005 ya, i agree, this would be a good idea (i dont think its implemented yet)
Nazgul Posted January 9, 2005 Posted January 9, 2005 It is, try the following:WshShell.regRead("HKLM\Software\Test\Test")=="b"This checks if the value of Test at location HKLM\Software\Test is equal to b.HKLM = HKEY_LOCAL_MACHINEHKCU = HKEY_CURRENT_USER
ankap Posted January 10, 2005 Author Posted January 10, 2005 Nazgul I have already tried that way it's working but I'd like to check if the specified key exists or not or smth else.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now