Delete registry entry using vbscript

S

Shilpa

Hi,

I have an entry in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\SharedDlls" as
"D:\junk\abc.dmp"
I need to delete this entry using vbscript.
How do do this?

Regards,
Shilpa
 
M

Mark V

Hi,

I have an entry in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\SharedDlls" as
"D:\junk\abc.dmp"
I need to delete this entry using vbscript.
How do do this?

I do not know (for VBS) but you can use something like
REG.EXE DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls" /v "D:\junk\abc.dmp" /f
assuming you have the authority to do so. REG.EXE is included in XP IIRC
and is on the W2K installation CD in the 'Support Tools' install.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top