Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!cg-atla!fredex From: fredex@cg-atla.UUCP (Fred Smith) Newsgroups: comp.sys.ibm.pc Subject: Re: distinguishing between MS and IBM(PC) DOS Keywords: Microsoft C Message-ID: <8260@cg-atla.UUCP> Date: 17 Jan 90 13:50:15 GMT References: <6178@uhccux.uhcc.hawaii.edu> Reply-To: fredex@cg-atla.UUCP (Fred Smith) Organization: Agfa Compugraphic Division Lines: 15 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 knowthis is kinda crude, but you could try: system ("ver"); Fred