From: "Ben Davis" Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: Re: Detecting Windows and Windows directory from DOS Date: Tue, 14 Mar 2000 20:15:41 -0000 Organization: Customer of Planet Online Lines: 9 Message-ID: <8am7b6$dng$1@news8.svr.pol.co.uk> References: <8am5ub$o0v$1 AT news6 DOT svr DOT pol DOT co DOT uk> <38CE9CA0 DOT F19326B4 AT gs707 DOT com> NNTP-Posting-Host: modem-86.claritin.dialup.pol.co.uk X-Trace: news8.svr.pol.co.uk 953065638 14064 62.136.85.86 (14 Mar 2000 20:27:18 GMT) NNTP-Posting-Date: 14 Mar 2000 20:27:18 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Alexey Zakhlestine wrote in message <38CE9CA0 DOT F19326B4 AT gs707 DOT com>... >you need to look at environment variable "windir" Thanks! However I notice there's a 'winbootdir' environment variable as well. What's the difference?