Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75215 invoked from network); 31 Jul 2007 07:25:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jul 2007 07:25:25 -0000 Received: (qmail 26944 invoked by uid 500); 31 Jul 2007 07:25:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 26919 invoked by uid 500); 31 Jul 2007 07:25:20 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 26908 invoked by uid 99); 31 Jul 2007 07:25:20 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 00:25:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [32.58.34.227] (HELO kndvir01.barco.com) (32.58.34.227) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 31 Jul 2007 07:25:15 +0000 Received: From KNDFEX01.barco.com ([150.158.234.30]) by kndmail.barco.com (WebShield SMTP v4.5 MR2); id 1185866692404; Tue, 31 Jul 2007 09:24:52 +0200 Received: from NOIMEX01.barco.com ([150.158.72.10]) by KNDFEX01.barco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 31 Jul 2007 09:24:52 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2929 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Importance: normal Content-Transfer-Encoding: quoted-printable Priority: normal Subject: RE: windows command Date: Tue, 31 Jul 2007 12:54:42 +0530 Message-ID: In-Reply-To: <3D84CD6F82C0BF478B872930B44A99D1180B6A@301081ANEX1.global.avaya.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: windows command Thread-Index: AcfTQcruFG0C43LiTza/ii+8KwpMNAAAXVWw From: "Sharma, Jaikumar" To: "Ant Users List" X-OriginalArrivalTime: 31 Jul 2007 07:24:52.0364 (UTC) FILETIME=[E2BCC4C0:01C7D343] X-Virus-Checked: Checked by ClamAV on apache.org You can use the windows system command in the following way. =20 =20 example note : In the above target I have used xcopy.exe Windows program to copy file from c:\temp to d:\temp. You can pass arguments to command using You can adapt this (command arguments etc.) as per your needs. Hope this helps. -----Original Message----- From: Sayed, Irfan (Irfan) [mailto:isayed@avaya.com]=20 Sent: Tuesday, July 31, 2007 12:32 PM To: user@ant.apache.org Subject: windows command Hi All, =20 I need to execute windows system command in Ant's build.xml. I got one sample in manual but need to know what is the exact meaning of every line with every attribute. =20 =20 Can somebody please help=20 =20 Regards Irfan. =20 DISCLAIMER: Unless indicated otherwise, the information contained in this message is = privileged and confidential, and is intended only for the use of the = addressee(s) named above and others who have been specifically = authorized to receive it. If you are not the intended recipient, you are = hereby notified that any dissemination, distribution or copying of this = message and/or attachments is strictly prohibited. The company accepts = no liability for any damage caused by any virus transmitted by this = email. Furthermore, the company does not warrant a proper and complete = transmission of this information, nor does it accept liability for any = delays. If you have received this message in error, please contact the = sender and delete the message. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org