Function readregistry Lparameters tcRegistryKey * tcRegistryKey = registry key to read * ex: "HKCC\System\CurrentControlSet\Control\Print\Printers\Default" * These abbreviations may be used: oShell = Createobject("WScript.Shell") lcValue = oShell.RegRead(tcRegistryKey) Function writeregistry Lparameters tcRegistryKey, tcValue oShell = Createobject("WScript.Shell") lcValue = oShell.RegWrite(tcRegistryKey, tcValue)