Hi folks, I wanted to run a DOS command from the ant scripts. for example "dir".
How is this possible. I find out that "EXEC" task can be used to execute
external commands and executables but when I tried using it gives me some
exception as below:
java.io.IOException CreateProcess: dir error 2
following is the task script:
<exec dir="${src}" executable="dir" output="dir.txt">
</exec>
any idea what could be the problem or any other way to achieve it?
Thanks in advance,
Regards,
Akhil
