Remember, modifying the registry incorrectly is a great way of crashing your system......
VB Code:
Dim WshShell As Object Set WshShell = CreateObject("WScript.Shell") 'To write to registry WshShell.RegWrite _ "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\Directory", _ "What ever you want", "REG_SZ" 'to read from registry str = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\DIR") Set WshShell = Nothing




Reply With Quote