sanjan
06-07-2001, 12:48 PM
How do I add a dword value to the registry?
RWSchlatter
06-07-2001, 08:43 PM
Sample taken from Microsofts doc:<pre>Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\ScriptEngine\Value", "Some string value"
WshShell.RegWrite "HKCU\ScriptEngine\Key\", 1 ,"REG_DWORD"</pre>
if you don't have the current doc, get it from:
http://msdn.microsoft.com/scripting (http://www.winguides.com/external.php?url=http://msdn.microsoft.com/scripting)
______________
Regards - Richard
sanjan
06-07-2001, 11:24 PM
Thanks for you help. Appreciate it.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.