Jump to content
Sign in to follow this  
expertD

Suggestion in manupulating registry

Recommended Posts

expertD

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

Share this post


Link to post
Share on other sites
JLogan3o13

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")
  • Like 1

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
expertD

 

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.

Share this post


Link to post
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
Sign in to follow this  

×