Ben Lerner
Ben Lerner

Reputation: 1288

Figuring out where a file is in Windows PATH

How can I determine which file command is calling? For example, when I call "python", I want to know that the system executes

C:/Python27/python.exe

(I'm working on Windows, if that makes a difference.)

Upvotes: 0

Views: 41

Answers (1)

Nathan Kuchta
Nathan Kuchta

Reputation: 14202

Use WHERE from a command line. For your specific example: where python.exe

Upvotes: 3

Related Questions