expertD Posted October 14, 2013 Share Posted October 14, 2013 Guys I want a bit of suggestion, about editing the registry. The problem is as follows. There are several data types in registry like REG_BINARY, REG_DWORD, REG_SZ etc. Some of them take integer and some of them take string values. However in autoit all types of values in function calls are given in quotation mark. So my question is that when writing some value in registry through a function call (off course in quotation mark), is the values are stored in their actual data types and how it takes place. Also what happens of quotation mark (" ") . Thanks Link to comment Share on other sites More sharing options...
Moderators Solution JLogan3o13 Posted October 14, 2013 Moderators Solution Share Posted October 14, 2013 expertD, it probably would have taken you less time to try it yourself than it did to create the post... RegWrite("HKCU\Test", "Binary", "REG_BINARY", "I am Binary") RegWrite("HKCU\Test", "DWORD", "REG_DWORD", 42) RegWrite("HKCU\Test", "String", "REG_SZ", "I am a string") expertD 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
expertD Posted October 15, 2013 Author Share Posted October 15, 2013 expertD, it probably would have taken you less time to try it yourself than it did to create the post... RegWrite("HKCU\Test", "Binary", "REG_BINARY", "I am Binary") RegWrite("HKCU\Test", "DWORD", "REG_DWORD", 42) RegWrite("HKCU\Test", "String", "REG_SZ", "I am a string") Thanks man. 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