RegDelete regpath
Example Usage:
ASP Source Code:<% ' delete from the registry: dim a ' Delete a value : "testvalue" RegDelete "HKCU\testregwrite\testvalue" ' Delete a key : "testkey" RegDelete "HKCU\testregwrite\testkey\" %>
<% Private Sub RegDelete(byVal regpath) Dim objShl Set objShl = CreateObject("wscript.shell") On Error Resume Next objShl.RegDelete( regpath ) If Err Then Err.Clear On Error GoTo 0 Set objShl = Nothing End Sub %>