New
#21
Matthew,
Two quick samples -
These sample lines create these Registry entriesCode:Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.RegWrite "HKCU\Software\ACME\FortuneTeller\", 1, "REG_BINARY" WshShell.RegWrite "HKCU\Software\ACME\FortuneTeller\MindReader", "Goocher!", "REG_SZ"
Code:[HKEY_CURRENT_USER\SOFTWARE\ACME] [HKEY_CURRENT_USER\SOFTWARE\ACME\FortuneTeller] @=hex:01,00 "MindReader"="Goocher!"
I have attached relevant extracts from the 2001 VBS Help entry for Registry control but I thought the above samples would create a clearer/simpler picture in the first instance.
RegWrite Method RegWrite Method.pdf
RegDelete Method RegDelete Method.pdf
RegRead Method RegRead Method.pdf
Denis