Reputation: 19
I want to run a VBScript file from an Ant script. How can I do that?
Upvotes: 0
Views: 2784
Reputation: 7021
Have a look at the exec task. It allows you to execute a system command from your Ant script.
EDIT: An example could be:
<target name="RunVbScript">
<exec executable="cscript">
<arg value="MyScript.vbs"/>
<arg value="argument 1" />
<arg value="argument 2" />
<arg value="argument n" />
</exec>
</target>
Upvotes: 3