General information
Category:
COM/DCOM and OLE Automation
How do you remove a registry key with the script host's RegDelete method, when the key name contains backslashes. For instance, "HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\run\" is where the key is located, and the key is called "C:\WINNT\system32\foo.txt". The WSH thinks that because there are backslashes in the key name, it must continue down the path from "....\currentversion\run\C:\WINNT\system32\" and that the key name is "foo.txt". Does anybody have a clue on how to get around this? Thanks,
jfh
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only