Question
What is the difference between PATH and PATHEXT?
Asked by: USER8358
48 Viewed
48 Answers
Responsive Ad After Question
Answer (48)
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'.