Use Google or MSDN to lookup the RegDelete method of the WScript.Shell
object, or you can lookup the Standard Registry Provider (StdRegProv) for
WMI calls to do it.
Regedits and vb scripts are written differently to delete keys and values.
What is it you are trying to do, exactly? Generally one doesn't delete keys
via a .reg file to put it in a .vb script. Did you perhaps mean copy/export
keys from the registry to create a vb script?
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.