Date: Wed, 13 Aug 1997 13:43:10 +0300 (IDT) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" cc: djgpp AT delorie DOT com Subject: Re: Detecting NT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 12 Aug 1997, Salvador Eduardo Tropea (SET) wrote: > Does anybody know how to detect if the current OS is NT? This has come up before. If memory serves, NT is the only platform whose DOS box identifies itself as DOS version 5.50 when you call function 3306h of interrupt 21h. So just callig the DJGPP library function `_get_dos_version' with a non-zero argument should be enough.