bobbintb Posted May 22, 2009 Posted May 22, 2009 (edited) for the life of me i cannot figure out the sytax on how to use this command. i looked at the examples and cant get it. i have a "regsz" key named "1" with value "x"how do i do this? Edited May 22, 2009 by bobbintb
mritter Posted May 26, 2009 Posted May 26, 2009 {JSCRIPT}=WriteRegKey("HKEY_CURRENT_USER\Software\WPI\Test Key",1,"REG_DWORD"){JSCRIPT}=WriteRegKey("HKEY_CURRENT_USER\Software\WPI\Test Key","Value","REG_SZ")
bobbintb Posted June 5, 2009 Author Posted June 5, 2009 {JSCRIPT}=WriteRegKey("HKEY_CURRENT_USER\Software\WPI\Test Key",1,"REG_DWORD"){JSCRIPT}=WriteRegKey("HKEY_CURRENT_USER\Software\WPI\Test Key","Value","REG_SZ")this doesnt seem to be working in vista. is there away to run it elevated?
malinduta Posted July 15, 2009 Posted July 15, 2009 Hello!How to use {JSCRIPT}=WriteRegKey("HKEY_CURRENT_USER\Software\WPI\Test Key","0","REG_MULTI_SZ") ?No key is added to registry.
mritter Posted July 15, 2009 Posted July 15, 2009 From a quick Google search, the strings must be NULL terminated and double NULL terminated at the end.Don't put quotes around numbers.
malinduta Posted July 16, 2009 Posted July 16, 2009 {JSCRIPT}=WriteRegKey("HKEY_CURRENT_USER\Software\WPI\Test Key",0,"REG_MULTI_SZ")Still not working I guess it has something to do with "REG_MULTI_SZ"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now