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.
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 LoginByVal regpath, ByVal strToWrite
ByVal regpath
ByVal regpath
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"")
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
ANmarAmdeen
677
Revisions
v1.0
Sunday
September
15
2024