Thanks Steve. Got it working.

Posting the solution for other's reference --

<target name="test">

 <exec executable="cmd" spawn="true">
   <arg line="/c start first.bat"/>
 </exec>
                
 <exec executable="cmd" spawn="true">
   <arg line="/c start second.bat"/>
 </exec>

</target>  


Steve Loughran wrote:
> 
> arijit wrote:
>> Thanks Jan. Unfortunately I am not an expert in ANT. Can you provide some
>> more code to show how I can run the batch files in separate dos prompts ?
>> 
>> 
> 
> do you mean you actually want the windows to pop up? Thats no longer 
> ant, that's windows.
> 
> you need to exec the program "start". Before you start rushing out lots 
> of support emails related to it
> 
> 1. start /? will list the options
> 2. those of us who moved to linux many years ago cannot provide help
> 
> -steve
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/executing-batch-files-in-separate-windows-tf3952030.html#a11214005
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to