hi...i want to run vbscript file from ant script...how to do that?..
+1
A:
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>
Eric Eijkelenboom
2010-03-25 09:02:06
yeah you are right but...using "exec" i can call batch file....and in batch file i can call vbscript,but i want to call directly vbscript from ant script...could i do that?
kosal
2010-03-25 10:37:01
The exec task can be used to execute any command. Please see my edits.
Eric Eijkelenboom
2010-03-25 11:17:55
hey..thanks ....its running fine now........
kosal
2010-03-25 12:11:43
A:
hi.......Eric Eijkelenboom........ya its run fine now......got the solution..thanks for te help............stay in touch.....
kosal
2010-03-25 12:10:41