Jump to content

Suggestion in manupulating registry


expertD
 Share

Go to solution Solved by JLogan3o13,

Recommended Posts

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

  • Moderators
  • Solution

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")

"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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...