To launch batch files you need to execute cmd.exe with correct
parameters ("/c" and "startup.bat"). You cannot execute the batch files
themselves.
- Alexey.
Peter Neu wrote:
Hello everybody,
I'm having difficulties using <exec> with Windows XP. When I'm trying
to run an Ant Script with a command like this :
<exec dir="C:/Programme/Apache Software Foundation/Tomcat 5.0/bin"
executable="startup.bat"
os="WindowsXP">
</exec>
simply nothing happens. I don't even get a warning. Can anybody tell
me what
I did wrong ?
Best Regards,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]