Sign in to follow this  
Followers 0
random8011

Help To Regwrite!thanks

2 posts in this topic

the reg valuename and value have beed existed.

for example..

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]

"Path"=hex(2):63,00,3a,00,5c,00,4f,00,72,00,61,00,63,00,6c,00,65,00,5c,00,4f,\

00,72,00,61,00,38,00,31,00,5c,00,62,00,69,00,6e,00,3b,00,25,00,53,00,79,00,\

73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,\

00,74,00,65,00,6d,00,33,00,32,00,3b,00,25,00,53,00,79,00,73,00,74,00,65,00,\

6d,00,52,00,6f,00,6f,00,74,00,25,00,3b,00,25,00,53,00,79,00,73,00,74,00,65,\

00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,\

6d,00,33,00,32,00,5c,00,57,00,62,00,65,00,6d,00,3b,00,43,00,3a,00,5c,00,43,\

00,49,00,43,00,53,00,5c,00,42,00,49,00,4e,00,00,00

path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

i just want to add a new path follow the old path

make the path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\oracle\ora81\bin;

any good ideas?

thanks a lot....

Share this post


Link to post
Share on other sites



$Path = RegREad("HKLM\System\ControlSet001\Control\Session Manager\Environment","Path")

RegWrite("HKLM\System\ControlSet001\Control\Session Manager\Environment","Path","Reg_binary",_

$Path & "The new string of HEX values")

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  
Followers 0