Im working with Wscript.Shell object.
Is there any way to check if a registry key exists.
If i want to read a value from a registry key, and if it doesnt exists i get an error.
I want to check first if a value exists and if it does then i want to read from it.
im reading registry keys with those commands:
Code:set wsh = CreateObject("Wscript.Shell") a = wsh.RegRead(MyRegKey)




Reply With Quote