🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #8763

Re: distinguishing between MS and IBM(PC) DOS

#8763
From: Fred Smith
Date: Wed, 17 Jan 1990 13:50
15 lines
830 bytes
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
Technical Details
Message-ID: <8260@cg-atla.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!cg-atla!fredex
References: <6178@uhccux.uhcc.hawaii.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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