From: Goh Yong Kwang Newsgroups: comp.os.msdos.djgpp Subject: Detecting Operating System in program Date: Wed, 9 Sep 1998 10:23:48 +0800 Organization: Ngee Ann Polytechnic, Singapore Lines: 12 Message-ID: NNTP-Posting-Host: mercury.np.ac.sg Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII NNTP-Posting-User: s6606555 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk How do we write a program that can detect the environment that it's running in (Win95, Win98, Win3x, MSDOS)? If you know, please email me at s6606555 AT np DOT edu DOT sg ---------------------------------- Many regards, Goh Yong Kwang 96606555 3K ----------------------------------