Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 4447 invoked by uid 500); 5 Oct 2001 14:58:32 -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 4423 invoked from network); 5 Oct 2001 14:58:32 -0000 Message-ID: <3BBDCAD7.7030904@cortexebusiness.com.au> Date: Sat, 06 Oct 2001 00:59:35 +1000 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Can't get to work References: <3BB8573A.6020106@cortexebusiness.com.au> <5.1.0.14.2.20011004115658.028ead30@www.carttest.com> <01b901c14cf9$20cb0bf0$6601a8c0@darden.virginia.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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