REG_BINARY

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Redbeard
Newbie
Posts: 3
Joined: Wed Feb 21, 2007 11:03 am

REG_BINARY

Post by Redbeard » Wed Feb 21, 2007 11:06 am

Hello all, I hope there is a "yes" answer to this question: is it possible to create a REG_BINARY value in the registry? I know strings and integers but I can't seem to make this work.

Thanks in advance.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Feb 21, 2007 11:11 am

Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Redbeard
Newbie
Posts: 3
Joined: Wed Feb 21, 2007 11:03 am

Post by Redbeard » Wed Feb 21, 2007 11:27 am

Thanks, bud.

Redbeard
Newbie
Posts: 3
Joined: Wed Feb 21, 2007 11:03 am

Post by Redbeard » Wed Feb 21, 2007 5:48 pm

Ok, I must be stupid. Thanks to you I can now create a REG_BINARY value. However, I'm trying to duplicate an existing value and I can't get the format right. If I export the existing value to a .reg file it looks like this:

"v1_Install"=hex:22,e0,38,96,cf,42,d5,13,6f,33,ca,13,4f,1a,d4,13,13,13,19,cd,\
68,44,dd,96,93,a4,9f,e7,d2,dd,cf,c2,89,c9,c2,d3,7e,fb,e9,21,7d,02,73,6e,c7,\
ed,eb,c8,47,4b,c6,e5,cc,46,e3,f2,6c,56,26,d0,34,02,1f,ed,1f,ed,81,6b,d2,cb,\
82,94,92,81,86,ef,39,c9,67,2e,41,aa,1c,14,d0,00,0c,86,97,ec,9f,b0,77,0f,73,\
2e,0f,52,e7,c1,ea,55,c0,97,be,54,83,cc,13

Now, I can create a REG_BINARY value with the same name but I don't know how to enter the format. Do I need some sort of binary converter?

Thanks again for your help.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts