Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!star.cs.vu.nl!msschaa From: msschaa@cs.vu.nl (Schaap MS) Newsgroups: comp.sys.ibm.pc Subject: Re: distinguishing between MS and IBM(PC) DOS Keywords: Microsoft C Message-ID: <5134@solo6.cs.vu.nl> Date: 18 Jan 90 16:53:46 GMT References: <6178@uhccux.uhcc.hawaii.edu> Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 14 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? > >I know how to determine the version number but do not know how to determine >origin... Thanks...todd > 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. Michael