Jump to content
Sign in to follow this  
boyemillar

Append to Registry Key

Recommended Posts

boyemillar

I need to append ";w:\labprog" to the following registry key...

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path'

Not really sure how to do it though !

Any help would be much appreciated.

Share this post


Link to post
Share on other sites
BrettF

I need to append ";w:\labprog" to the following registry key...

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path'

Not really sure how to do it though !

Any help would be much appreciated.

RegRead The Key to a varible ($var = RegRead (....))

RegWrite (...$var & "Appended Text...)

Of course that is persudo code :P

Share this post


Link to post
Share on other sites
boyemillar

RegRead The Key to a varible ($var = RegRead (....))

RegWrite (...$var & "Appended Text...)

Of course that is persudo code :P

Thanks very much Brett, Worked a treat :P

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  

×