Command line path system variable edit
Posted on 2004-08-03
I am building an SMS installer package and as part of the install I need to edit the "Path" system variable so that 2 entries are removed and the rest of the "Path" system variable to remains in place. I know that the "Path" system variable exists in the registry at \local_machine\software\......\environment\path but cannot think of a way of using a script to edit the key instead of deleting it or recreating it .
Does anyone know how this can achieved using SMS installer or a third party tool that I could plug into the SMS installer script?