Hi All
Can I call "bat" files from within ant scripts?
If so, how do I do it?

I tried both

<target name="batch">
<exec dir="C:\" command="C:\junk.bat" os="windows" output="C:\my.txt"/>
</target>

AND


<target name="batch">
<exec dir="C:\" command="call C:\junk.bat" os="windows" output="C:\my.txt"/>
</target>

Thanks
Madhu

Reply via email to