What is the order in which the Windows command prompt executes files with the same name but different extensions?
For example I have a bunch of executable files (something.cmd, something.bat, something.exe), which of these would be executed when I typed "something" into a command prompt (given they were on the path etc). If that file did not exist which one would then be executed?
I know this is a simple question but I'd like to know if there's a reference someone has that describes this.