Let's say I have two folders listed in my Path environment variable like so:
And within each of those folders, I have a program named "testprog.exe". When I open a command window and type "testprog.exe". Which one will be run? What if testprog.exe in FolderB is a later version of the testprog.exe in FolderA? Does the system care? Is it indeterminate which one will run? What happens?