Re: Priority of application in Run



Is this what you are asking about?

Files with the same name, different extensions

You might have some files in the same directory that share the same file name but have different extensions. For example, you might have a file named Accnt.com that starts an accounting program and another file named Accnt.bat that connects your system to the accounting system network.

The operating system searches for a file by using default file name extensions in the following order of precedence: .exe, .com, .bat, and ..cmd. To run Accnt.bat when Accnt.com exists in the same directory, you must include the .bat extension at the command line.

• Two or more identical file names in the path

If you have two or more files in the command path that have the same file name and extension, Windows XP searches for the specified file name first in the current directory, and then it searches the directories in the command path in the order in which they are listed in PATH.



Kappa wrote:
Hello

When you write some command in Run, is there any priority order against
which Windows checks to find out if its .EXE command or its batch file
or come .CPL command.

I'm not sure if Windows tolerate the missing extension, although it's
not the case with .EXE files ("calc" is same as "calc.exe").

Just wondering and would like an insight into it or perhaps a link will
do.

Thanks a lot.

Kappa


.



Relevant Pages

  • Re: Mac Java
    ... The "Apple" key is properly referred to in the Mac ... community as the Command key, and Command-Q is the common keyboard ... Windows applications. ... though I don't know what was different beyond extensions like ...
    (comp.lang.java.programmer)
  • Re: Suggestions for custom application-layer protocol?
    ... :, and your protocol is extensible. ... extensions don't command anything critical. ... critical command change, the version number should get a boost. ...
    (comp.os.linux.embedded)
  • Re: Suggestions for custom application-layer protocol?
    ... :, and your protocol is extensible. ... extensions don't command anything critical. ... critical command change, the version number should get a boost. ...
    (comp.unix.programmer)
  • Re: Importing website
    ... If the remote site has the FP extensions, then DO NOT use the Import command, as it on retrieve the ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... Yahoo is the server. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Block unknown file name extension types -- How to?
    ... In a new Command window, ... you have a safe list of file extensions you don't get the warning up ... I know you can add filenames to the registry in which to block them, ...
    (microsoft.public.windowsxp.general)

Loading