Re: Priority of application in Run
- From: Bob I <birelan@xxxxxxxxx>
- Date: Wed, 30 Aug 2006 11:43:18 -0500
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
.
- Follow-Ups:
- Re: Priority of application in Run
- From: Kappa
- Re: Priority of application in Run
- References:
- Priority of application in Run
- From: Kappa
- Priority of application in Run
- Prev by Date: Re: Networking
- Next by Date: Re: Program Files read only?
- Previous by thread: Priority of application in Run
- Next by thread: Re: Priority of application in Run
- Index(es):
Relevant Pages
|
Loading