Re: ant execute Windows del command

2011-05-12 Thread shi chuan
thanks a lot! it works like a charm! On Fri, May 13, 2011 at 3:44 AM, Dominique Devienne wrote: > On Thu, May 12, 2011 at 2:35 PM, shi chuan wrote: > > thanks for the quick reply, now i tried the one below, still no luck, > > anything else that could be wrong? > > My bad,

Re: ant execute Windows del command

2011-05-12 Thread shi chuan
thanks for the quick reply, now i tried the one below, still no luck, anything else that could be wrong? On Fri, May 13, 2011 at 3:30 AM, Dominique Devienne wrote: > On Thu, May 12, 2011 at 2:17 PM, shi chuan wrote: > > > > That's a single of name "-c de

Re: ant execute Windows del command

2011-05-12 Thread shi chuan
Now I am trying to use the following, it seems the error message is gone, but the file is not deleted: On Fri, May 13, 2011 at 2:55 AM, Dominique Devienne wrote: > On Thu, May 12, 2011 at 1:45 PM, shi chuan wrote: > > Hi guys, I am

ant execute Windows del command

2011-05-12 Thread shi chuan
Hi guys, I am trying to apply a task using Windows executable 'del' to delete files, the reason I don't use is because it will delete even if things are up to date. However this runs into an error: cannot run program 'del'...error=2 Is there anything I can do to the above command to make it wor