From: "ypwang" Newsgroups: comp.os.msdos.djgpp Subject: Re: Win2k vs Win NT4 -how to distinguish Date: Fri, 16 Feb 2001 14:56:27 +0800 Organization: Bentium Ltd. Lines: 19 Message-ID: <96iivg$ssn$1@mail.cn99.com> References: <95sfgm$sne$1 AT pippin DOT nask DOT waw DOT pl> NNTP-Posting-Host: 211.99.50.125 X-Trace: mail.cn99.com 982306608 29591 211.99.50.125 (16 Feb 2001 06:56:48 GMT) X-Complaints-To: usenet AT staff DOT cn99 DOT com NNTP-Posting-Date: Fri, 16 Feb 2001 06:56:48 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Wojciech Galazka" wrote in message news:95sfgm$sne$1 AT pippin DOT nask DOT waw DOT pl... > > Eli Zaretskii wrotye in a message > > > >The problem is, there's no simple way of distinguishing between NT and > >W2K from a DJGPP program. > > Once there was a library that provided access to Windows registry from DOS > level..... Run the internal-command "ver" and you will get the currrent version, If we can use this method to get the output then we can easily point out which platform is running. I havn't done much work on this subject and it's just some idea.