Jump to content

Recommended Posts

Posted (edited)

Hello!

I need to get an "array" as is from regfile

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\New Key #1]

"New Value #1"=hex(2):2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,\

00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,\

2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,\

00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,\

2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,00,00

"New Value #2"=hex(2):00,00

"New Value #3"=hex(7):00,00

I need cut it as-is within space symbols and slashes ,\ full as is!... Howto get it as a $variable_1?

After I need it to wright this dump to new created file.reg

It's allow me to assembly many far and differently hex(2) parameters together in new valid MS reg-file

Please Help!

[start]hex(2):2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,\{@LF}

[space+space]00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,\{@LF}

[space+space]2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,\{@LF}

[space+space]00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,\{@LF}

[space+space]2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,2a,00,00,00[end]

I dont want a long of strings before! Script must read it himself from regfile

Edited by semiono

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
×
×
  • Create New...