Thanks for your Help…
How to move python sys env variable to top of Path list ?
Internet suggests click the Move Up button .
But there is no Move Up button .
Surely there is an app to do this ?
Thanks for your Help…
How to move python sys env variable to top of Path list ?
Internet suggests click the Move Up button .
But there is no Move Up button .
Surely there is an app to do this ?
In the windows setting app enter “environment” in the search box.
The page it takes you to will have a move up button.
Ugh!
That’s why i am here ,
there is “No Move up Button”
I have:
Windows 11 Home
10.0.22631 Build 22631
What do you have ?
The path variable has multiple paths, separated by semicolons. When you edit the variable, the dialog should have buttons to move a path up or down.
I am not sure what you are seeing, maybe share a screen shot?
Also considered that you are asking for Windows help on a python forum.
Thanks Barry :
Here is screenshot of
No probs with the user variables , it auto moved to top of list .
Find PATH in the list of variables.
Click Edit…
Click on the entry you want to Move.
Now you should see the Move Up/Down buttons.
Yes , I have done all that ,
the image shows ‘after I have done all that’ ,
and still no move button .
Do you really have an environment variable whose name contains a space? That looks highly suspicious to me.
That is common on windows. Think c:\program files\
in PATH.
Start The Settings app
Type “Environment” into the search box and you will see this:
Click on the circled Edit option and you will see this
Click on Path.
Click on Edit…
Now you will see the Move buttons I have circled them.
That’s a space in a path. I was talking about a space in the name of the variable itself.
The OP appears to have a variable called “System Python312 Scripts”.
So you know that Windows is it’s own special thing…
I just had to give it a try…
Spaces in env var names works!
: 15:43:10.24 C:\Users\barry
: \\VM-WIN11\barry> set qqq zzz=xzyyz
: 15:43:15.14 C:\Users\barry
: \\VM-WIN11\barry> set q
qqq zzz=xzyyz
: 15:43:17.66 C:\Users\barry
: \\VM-WIN11\barry> echo %qqq zzz%
xzyyz
But I agree its likely not a useful thing to have done.
No probs with the user variables , it auto moved to top of list
Like I said , I have done all that ,
the image I Posted shows ‘after I have done all that’ ,
and still no moveup/movedown button .
Maybe it’s only when you’re editing Path
and PSModulePath
that you get the larger dialog with the “Move up” and “Move down” buttons.
What is it that you hope to do?
The list of env vars is not in any order. It does not matter to any app what the order is.
The only reason for the move up/down buttons is to help edit the order of paths in the PATH.
As shown in image , I am using PATH .
“What is the actual problem you’re trying to solve?”
How can I get a Move Up/MoveDown Buttons like other win 11 systems , including yours have .
You’re not editing the variable called “PATH”, you’re editing a variable called “System Python312 Scripts”. I don’t know what uses that.