Message-ID: <001401be8061$a24a1660$6b003bd4@default> From: "Laurynas Biveinis" To: Subject: Re: Fw: LBInstDJ - second, improved version Date: Tue, 6 Apr 1999 21:12:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Reply-To: djgpp-workers AT delorie DOT com >If this test is done before DJGPP is set, use the directory name to >check the acessibility of DJGPP.ENV. If DJGPP.ENV doesn't yet exist >(because you do this test before unzipping djdev), create it >temporarily using the installation directory name chosen by the user >and then test. I think the next way would be OK (please tell me your suggestions): try to create DJGPP directory as user told without any checks, until mkdir() succeeds. If mkdir() does not succeed, that means: user tried to install DJGPP to LFN directory in *plain* dos. His fault. In autoexec.bat: path to djgpp.env would be got with DOS 7 LFN API "Get SFN name" or something like it. I thinked of this way when looked to my "illegal" DJGPP installation, which is in C:\Programming\DJGPP\ and in my autoexec.bat is SET DJGPP=C:\PROGRA~2\DJGPP\djgpp.env Or maybe it is complete non-sense? Laurynas Biveinis