The PATH is only used when you don't explicitly spell out the direct way to the program you are wanting to run.
That is, if you enter "msconfig" in the Run window then the PATH locations are checked to see if a file or program is located in any of those locations specified in your PATH.
If you want to run, or use, some program or file that is not in your PATH, then all you need to do is type in the explicit full path name of that program or file. Such as, if I wanted to run some program called "xyz" that is in my C:\batches\wherever directory, all I need to enter is:
Note: it doesn't hurt to include the exe, but it really isn't needed for programs.
Where adding the extension is required, though, is where the file you want to run is not a program (or maybe a batch file).
For example, if you wanted to open a text file with the Run command, and since .TXT files are normally associated with NotePad, then just entering in the fully qualified path and filename, like:
would open that file with notepad.
AND even IF a file isn't associated with a particular tool you want to use to open the file with, you could still specify that in the Run window, too.
Try this, assuming that you do have a "oeminfo.ini" file (and about half of you do, ask me, in another discussion, why it is handy!)
Enter, in the Run window (there's another assumption here, that you have a recent version of Windows, that has a variable called systemroot):
(Otherwise, you could substitute the "%systemroot%" with your own specific path to your Windows installed directory.)
If Notepad is associated with .INI files then Notepad will be used to open that file (or whatever association you do have).
If nothing is associated with the .INI file type then you will need to use this Run command:
Yes, the Run window can be very handy.
Another "trick" it can be used for is as a "drag and drop" window to get the fully-qualified path and filename of any file. To do so, just open up a Run windows, and clear it out. Then use an Explorer window to drag and drop any selected file right into the blank field.
What you will see is the full path and filename of that file. It will include any quote (") characters if needed for paths that require them (such as if there is a space in there somewhere).
Anyway, that created entry can then be copied (Ctrl-C) and pasted (Ctrl-V) into something else where you needed to type out a full path and you didn't want any mistakes. Pretty cool.