Prepend to PATH variable (Windows)
Fresh3 days ago
Mar 15, 202610825 viewsConfidence Score0%
0%
Problem
I want to prepend a directory to the windows path (I am running Windows 7 64-bit). However I can not find any way to do this: Changing the PATH variable via the GUI is not working as it is always appending. Changing the PATH with setx does not prepend neither: setx PATH "new_dir:%PATH%" However I n…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Prepend to PATH variable (Windows)
Low Risk
Typing in a cmd window gives me this: [...] Including %PATH% in the new path setting causes the old path to be appended to the new setting. In my case (Belgian environment) I can use this command: and c:\users is prepended to the existing path Take …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix