Path: utzoo!attcan!uunet!cs.utexas.edu!ginosko!brutus.cs.uiuc.edu!psuvax1!gatech!ncsuvx!shumv1!unkydave From: unkydave@shumv1.uucp (David Bank) Newsgroups: comp.sys.ibm.pc Subject: Re: .COM and .EXE files Message-ID: <4263@ncsuvx.ncsu.edu> Date: 22 Oct 89 07:01:13 GMT References: <00092@citasim.UUCP> <253B310B.23002@maccs.dcss.mcmaster.ca> <270@wsl.UUCP> Sender: news@ncsuvx.ncsu.edu Reply-To: unkydave@shumv1.ncsu.edu (David Bank) Organization: NCSU Computing Center Lines: 14 Actually, COMMAND.COM (the parser) recognizes THREE file extension. ".COM", ".EXE", and ".BAT" When you enter a command at the command line. DOS first checks to see if it is an internal command ("CLS" or "VER" for example). If not, it then checks to see if the command was the name of a ".COM" file. After that, ".EXE" and finally ".BAT" If nothing comes back, it's time for "bad command or filename" Unky Dave unkydave@shumv1.ncsu.edu