ankap Posted January 9, 2005 Share Posted January 9, 2005 How can I make to check not for file but for registry key or value?It is more useful. Link to comment Share on other sites More sharing options...
MCT Posted January 9, 2005 Share Posted January 9, 2005 ya, i agree, this would be a good idea (i dont think its implemented yet) Link to comment Share on other sites More sharing options...
Nazgul Posted January 9, 2005 Share 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 Link to comment Share on other sites More sharing options...
ankap Posted January 10, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
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