Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 26017 invoked from network); 19 Aug 2002 15:59:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Aug 2002 15:59:32 -0000 Received: (qmail 25930 invoked by uid 97); 19 Aug 2002 15:59:53 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25893 invoked by uid 97); 19 Aug 2002 15:59:52 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 25880 invoked by uid 98); 19 Aug 2002 15:59:52 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <01ad01c24799$b1d219e0$1219570f@ranier> From: "Steve Loughran" To: "Ant Users List" References: <2DAFF28F562AD4119B0E00508B5F049F0222A3CA@AMSEXCH01> Subject: Re: ant check if file is in path Date: Mon, 19 Aug 2002 09:01:33 -0700 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Tibor Strausz" To: "Ant Users List (E-mail)" Sent: Monday, August 19, 2002 5:56 AM Subject: ant check if file is in path > > how can i do an simple check if a file is in my path. > if i use this > > > property="regtlibExe.present"/> > > > it will fail because it can't find it put the regtlib.exe is in my path use to get your env variables, then search for the file along env.PATH and env.Path -- To unsubscribe, e-mail: For additional commands, e-mail: