bobbintb Posted May 22, 2009 Share 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 Link to comment Share on other sites More sharing options...
mritter Posted May 26, 2009 Share 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") Link to comment Share on other sites More sharing options...
bobbintb Posted June 5, 2009 Author Share 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? Link to comment Share on other sites More sharing options...
mritter Posted June 8, 2009 Share Posted June 8, 2009 Bug found and fixed. Link to comment Share on other sites More sharing options...
malinduta Posted July 15, 2009 Share 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. Link to comment Share on other sites More sharing options...
mritter Posted July 15, 2009 Share 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. Link to comment Share on other sites More sharing options...
malinduta Posted July 16, 2009 Share 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" Link to comment Share on other sites More sharing options...
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