From ant-user-return-13357-apmail-jakarta-ant-user-archive=jakarta.apache.org@jakarta.apache.org Fri Oct 05 18:04:09 2001 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 67836 invoked by uid 500); 5 Oct 2001 18:04:09 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 67815 invoked from network); 5 Oct 2001 18:04:08 -0000 Message-ID: <029b01c14dc7$cce3db00$6601a8c0@darden.virginia.edu> From: "Erik Hatcher" To: References: <3BB8573A.6020106@cortexebusiness.com.au> <5.1.0.14.2.20011004115658.028ead30@www.carttest.com> <01b901c14cf9$20cb0bf0$6601a8c0@darden.virginia.edu> <3BBDCAD7.7030904@cortexebusiness.com.au> Subject: Re: Can't get to work Date: Fri, 5 Oct 2001 11:01:43 -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-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Conor, Sorry about that 'cls' mistake, and you are absolutely right of course. I've updated the FAQ entry: http://www.jguru.com/faq/view.jsp?EID=511266 and made sure to specify "shell command" rather than just "command". Erik ----- Original Message ----- From: "Conor MacNeill" To: Sent: Friday, October 05, 2001 7:59 AM Subject: Re: Can't get to work > Erik Hatcher wrote: > > > I just promoted this to a FAQ at jGuru (it takes an hour or so for it to > > appear as an FAQ), but here's a link to the forum entry: > > > > http://www.jguru.com/forums/view.jsp?EID=503205 > > > > (answer a few entries down) > > > > Erik > > Is that this one? > > > To a command on Windows, you must execute the command shell > followed by the command you want. For example: > > > > > > > > > > > > The '/c' is there to exit the spawned command shell after executing > the specified command. > > It is not quite true. You can execute most commands without executing a > command shell. The cases where that is not true is where you are trying > to execute a command.com builtin. Also the example above probably won't > work - I don't have NT running anymore, but I am pretty sure the above > won't clear the screen, presumably because it is actually clearing a > different shell. > > Conor > > >