\python.exe C:\Path\To\Whatever\Folder\the\file\is\in\open_with_windows.py install Or if you navigated to the python folder instead The command starts looking likeĬ \Users\\python.exe. Similarly, you could have typed in the entire location string for Python, or for the file, but that gets unwieldy very fast. If the directory was added to the PATH, you could simply type 'python' in any folder and it would work. This is why simply typing 'python' into cmd.exe gives a 'command not recognized' error. Python's installer is supposed to add it's install directory to the PATH, but usually fails for some reason. It's not required to install from that particular location.Įssentially, cmd.exe (and PowerShell) have a thing called a 'PATH', which is a list of directories where they search for a command you typed in.