Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.sys.ibm.pc Subject: Re: Execution Order Keywords: COM EXE BAT Message-ID: <5794@bsu-cs.UUCP> Date: 20 Feb 89 18:22:18 GMT References: <992@expya.cs.exeter.ac.uk> <22@dbase.UUCP> <7237@killer.DALLAS.TX.US> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 15 In article <7237@killer.DALLAS.TX.US> jls@killer.DALLAS.TX.US (Jerome Schneider) writes: >Steve's observation about the COM EXE BAT search order is correct. When >command.com tries to run a program, the extension is stripped off and the >three extensions are appended, one at a time, while the PATH is searched >for a matching file. However, I remember seeing an article here from somebody at Microsoft (Len Fisher, was it you?) that contained excerpts from an internal customer support memo. It explained that the execution search algorithm was not identical in all MS-DOS versions. Some versions strip the extension and some don't. -- Rahul Dhesi UUCP: !{iuvax,pur-ee}!bsu-cs!dhesi ARPA: bsu-cs!dhesi@iuvax.cs.indiana.edu