The information in this article applies to:
SUMMARYWindows looks at file extensions and filenames when searching for and running executable files specified on the command line accessed by choosing Run from the File. This is slightly different than the method used by MS- DOS, and can affect processing order. MORE INFORMATION
The MS-DOS command processor ignores filename extensions at first and looks
in itself for a string matching the command to be processed. If it finds
none, it looks in the current directory and then along the PATH for
filenames matching the issued command and having, in this order, the .COM,
.EXE, or .BAT extension. This is a search order only -- MS-DOS always
executes .COM files before .EXE files, regardless of any extension you
specify on the command line. If, for instance, it finds a MYPROG.COM and a
MYPROG.EXE in the same place, MS-DOS always runs MYPROG.COM first. However,
the processor runs MYPROG.EXE before MYPROG.COM if MYPROG.EXE is found
first during the PATH search.
REFERENCES
"Microsoft Windows User's Guide," version 3.0, pages 52-53
Additional query words: 3.00 3.00a 3.10 3.11 executables
Keywords : |
Last Reviewed: September 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |