Removing lines from Windows path variable

Viewed 1316

Let's say this is what my Windows system PATH looks like:

C:\oracle\product\11.2.0\32bit\client_1\bin;C:\oracle\product\11.2.0\64bit\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\

How would I remove that very first entry and add it to the end of the list? I know you can use setx for this but I would rather do this using PowerShell.

3 Answers
Related