RegSave, RegRead, RegDelete

Windows Registry read, save and delete branch node or key.
Three functions use wscript.shell to access registry.
Need to provide the full key path using HKCU, HKLM and similar, check examples.

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com

Linkedin Login

ByVal regpath, ByVal strToWrite
ByVal regpath
ByVal regpath

to create branch node ... ? regsave( "HKCU\SOFTWARE\ANmaCougar\", "")
to create key inside it ... ? regread("HKCU\SOFTWARE\ANmaCougar\ANmars")
? regsave( "HKCU\SOFTWARE\ANmaCougar\ANmars", "2024")
    ' Delete branch node ... ? RegDelete("HKCU\SOFTWARE\ANmaCougar\")
    ' Deletes key ... ? RegDelete("HKCU\SOFTWARE\ANmaCougar\ANmars"")

Views 4

Downloads 0

CodeID
DB ID