X-Apparently-From: Message-ID: <001e01c0d6e3$dd7f4680$a52aa8c0@mysystem> From: "Kushal Kumaran" To: References: <3 DOT 0 DOT 6 DOT 16 DOT 20010506121556 DOT 4eff55aa AT pop3 DOT 01019freenet DOT de> <003201c0d6c4$7c1d4140$a12aa8c0 AT mysystem> Subject: Re: More TMP dir ? Date: Mon, 7 May 2001 16:22:36 +0530 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp AT delorie DOT com > ----- Original Message ----- > From: "Nur Nurani" > To: > Cc: > Sent: Sunday, May 06, 2001 7:45 PM > Subject: Re: More TMP dir ? > > > > REM beginning of autoexec.bat > > IF exist e:\tmp SET PATH=e:\tmp > > IF not exist e:\tmp SET PATH=c:\tmp > > This does not work. The if exist statement cannot check for > existence of directories. You have to check for the nul file in > the directory. > > Use > if exist e:\tmp\nul set PATH=e:\tmp Err... *blush* Make that if exist e:\tmp\nul set TMPDIR=e:\tmp > . > . > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com