General discussion

Locked

Deleting Reg Key

By rocky5689 ·
worked

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

WSH

by BFilmFan In reply to Deleting Reg Key

I'd recommend that you use Windows SCript Host.

Sample below:

WSHShell = CreateObject("WScript.Shell")

*!* Delete Registry Keys
WSHShell.Popup( "Delete value HKCU\MyRegKey\Entry\Value1")
WSHShell.RegDelete( "HKCU\MyRegKey\Entry\Value1")

You can find a ton of Microsoft scripts here:

http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/scriptinga.asp

Collapse -

by rocky5689 In reply to WSH

Yes but how its going to pull the computer name its being run on

Back to IT Employment Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums