delorie.com/archives/browse.cgi | search |
X-Apparently-From: | <kushal?kumaran AT yahoo DOT com> |
Message-ID: | <003201c0d6c4$7c1d4140$a12aa8c0@mysystem> |
From: | "Kushal Kumaran" <kushal_kumaran AT yahoo DOT com> |
To: | <djgpp AT delorie DOT com> |
References: | <3 DOT 0 DOT 6 DOT 16 DOT 20010506121556 DOT 4eff55aa AT pop3 DOT 01019freenet DOT de> |
Subject: | Re: More TMP dir ? |
Date: | Mon, 7 May 2001 12:38:04 +0530 |
MIME-Version: | 1.0 |
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" <nur DOT nurani AT freenet DOT de> To: <djgpp AT delorie DOT com> Cc: <djgpp AT delorie DOT com> 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 . . _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |