Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!jato!mars!kaleb From: kaleb@mars.jpl.nasa.gov (Kaleb Keithley) Newsgroups: comp.sys.ibm.pc Subject: Re: distinguishing between MS and IBM(PC) DOS Keywords: Microsoft C Message-ID: <2636@jato.Jpl.Nasa.Gov> Date: 22 Jan 90 16:52:14 GMT References: <6178@uhccux.uhcc.hawaii.edu> <5134@solo6.cs.vu.nl> Sender: news@jato.Jpl.Nasa.Gov Reply-To: kaleb@mars.UUCP (Kaleb Keithley) Organization: Jet Propulsion Laboratory, Pasadena, CA. Lines: 15 In article <5134@solo6.cs.vu.nl> msschaa@cs.vu.nl (Schaap MS) writes: >In article <6178@uhccux.uhcc.hawaii.edu> todd@uhccux.uhcc.hawaii.edu (Todd Ogasawara) writes: >>Does anyone know how to determine whether the current DOS running is MS-DOS >>(from Microsoft and used on clones) or IBM-DOS (aka PC-DOS from IBM and >>used on true blue boxes) from within a Microsoft C program? >Check the root directory of the boot disk for >IBMBIO.COM and IBMDOS.COM for PC-DOS, >or MSDOS.SYS and ???.SYS for MS-DOS. IO.SYS Chewey, get us outta here! kaleb@mars.jpl.nasa.gov (818)354-8771 Kaleb Keithley