#43364 - 2003-07-25 03:50 PM
Append to registry
|
jhansenjr
Fresh Scripter
Registered: 2002-08-31
Posts: 37
Loc: New Jersey
|
Is there a way to append to a registry key? I'm would like to be able to append the "path" key in the registry. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
Thanks
|
|
Top
|
|
|
|
#43367 - 2003-07-25 04:08 PM
Re: Append to registry
|
jhansenjr
Fresh Scripter
Registered: 2002-08-31
Posts: 37
Loc: New Jersey
|
I know how to read and write to the regitry but I'm not familiar with adding to an existing key. Is there a command for this? Also, doesn't the set, setl, and setm replace the whole value?
|
|
Top
|
|
|
|
#43369 - 2003-07-25 04:21 PM
Re: Append to registry
|
jhansenjr
Fresh Scripter
Registered: 2002-08-31
Posts: 37
Loc: New Jersey
|
I have tried the set commands prior to posting and have had no luck. When I used these commands I replaced the whole path. I need to do this for local machine not current user. Basically all I need to know is how to add to the value that you have read in from the resitry?
|
|
Top
|
|
|
|
#43373 - 2003-07-28 03:40 PM
Re: Append to registry
|
jhansenjr
Fresh Scripter
Registered: 2002-08-31
Posts: 37
Loc: New Jersey
|
Thanks for your help.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 601 anonymous users online.
|
|
|