1. Locate this computer, right click on the properties
2. Left sidebar, advanced system settings
3. Click Advanced in the System properties
4. Click Environment variables
5. You can see a user variable and a system variable of two boxes
Where the system variable is to be used when you open CMD is run as Administrator in the environment variable
The previous user variable is the environment variable used to open cmd normally
Next, click on "Path" in the user environment variable.
And then create a new
Then enter the location of Python and create a new one to enter another python
Then notice that back to two Python locations, you'll see a python.exe
Entering python in Cmd will execute Python.exe
Because the Python2 Python3 folder is also Pyhon.exe
The system automatically picks up the previous one, so you need to rename one and then use the name as the command
If I were to name Pyhon2.exe in Python2,
Configuration complete
Python2, 3 environment variable configuration (WIN10)