Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removing a portion of a REG_EXPAND_SZ value?

Status
Not open for further replies.

chouck

MIS
Jan 30, 2005
32
US
For me this is the question of the day. I am connecting to the wmi stdregprov. From the MS MSDN site, I can see examples of everything to do with creating,deleting, and so on.

What I would like to do is to edit the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path Value and remove just a small portion of it through script. Would anyone have a suggestion on how to do this ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top