Results 1 to 1 of 1
Thread: Help about ws.RegDelete Problem:
Jul 8, 2010, 02:43 #1
- Join Date
- Apr 2010
- 0 Post(s)
- 0 Thread(s)
Help about ws.RegDelete Problem:
Hi to all,
Need Help guys hope you can share your opinion and suggestion.
I need to delete this file name "C:\sample\txt.exe" but error message still appear. Here is my shell codes ws.RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\Run \C:\sample\txt.exe")
here is the error message:"OLE IDispatch exception code 0 from WshShell.RegDelete: Invalid root in registry key" "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\Run\C:\Sample\tx t.exe"