Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WSH RegDelete
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
WSH RegDelete
Miscellaneous
Thread ID:
00589523
Message ID:
00589523
Views:
152
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
Map
View

Click here to load this message in the networking platform