What is the difference between PATH and PATHEXT?

Responsive Ad Header

Question

Grade: Education Subject: Support
What is the difference between PATH and PATHEXT?
Asked by:
48 Viewed 48 Answers
Responsive Ad After Question

Answer (48)

Best Answer
(362)
PATH is an environment variable that lists directories where the operating system searches for executable files. PATHEXT is a variable that lists file extensions that the operating system will try to execute when you type a command without specifying the full path. While both are related to finding executables, PATH is the primary variable for locating 'make'.