Home » Questions » Computers [ Ask a new question ]

Windows XP command-line: Have to type in full executable name to run program

Windows XP command-line: Have to type in full executable name to run program

Say I have a program called program.exe, and I want to run it from the command line. Assume further that I'm at the command prompt, and in the same directory as the program.exe

Asked by: Guest | Views: 101
Total answers/comments: 1
Guest [Entry]

"Copy is an inbuilt command, indeed.

I assume you're familiar with editing your PATH, however in the envronment variables menu, there's another one called ""PATHEXT"", which holds filetypes to execute without the extension (I used it to add "".py"", to execute python scripts). Check to make sure .exe is in there. If not, I've never come across this before!"