Jump to content

Append to Registry Key


Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...