From: lqian AT regulus DOT csl DOT uiuc DOT edu (Leiming Qian) Newsgroups: comp.os.msdos.djgpp Subject: Re: How to locate djgpp.env? Date: 27 Aug 1998 13:28:13 GMT Organization: University of Illinois at Urbana-Champaign Lines: 22 Message-ID: References: Reply-To: lqian AT uiuc DOT edu NNTP-Posting-Host: regulus.csl.uiuc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > >I'm planning to write a utility that can help people to modify the >djgpp.env file. > >How do I detect whether DJGPP is installed in a user's computer >*reliably*? Personally I think this could be achieved using a batch file, or a 4DOS batch file, or a Perl script, the "dir /s" command can search the specified path recursively for a file. If DJGPP environment is set, then this is even simpler. yours Leiming -- Leiming Qian: lqian AT uiuc DOT edu | Third Year Research Assistant Digital Signal Processing Group | Under Professor Douglas. L. Jones University of Illinois, Urbana-Champaign | VIM lover, Webmania, PC expert! ----------------------------------------------------------------------------- If you think that education is expensive, you ought to try ignorance. -----------------------------------------------------------------------------