From: Alexey Zakhlestine Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: Re: Detecting Windows and Windows directory from DOS Date: Tue, 14 Mar 2000 23:10:08 +0300 Organization: MTU-Intel ISP Lines: 11 Message-ID: <38CE9CA0.F19326B4@gs707.com> References: <8am5ub$o0v$1 AT news6 DOT svr DOT pol DOT co DOT uk> NNTP-Posting-Host: ppp101-101.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 953064629 19219 212.188.101.101 (14 Mar 2000 20:10:29 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 14 Mar 2000 20:10:29 GMT X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: ru,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com you need to look at environment variable "windir" Ben Davis wrote: > But can I detect the actual Windows directory? How? -- Hi, I'm a signature virus. plz set me as your signature and help me spread :)