Daniel Blaukopf schrieb am 09.06.2010 um 18:56 (+0300):
> Since psexec.exe expects to be run from a command shell, you might get
> better results running "cmd /c psexec.exe \\172..." from Ant.
But it's not always required to include cmd.exe. This works fine:
\,,,/
(o o)
------oOOo-(_)-oOOo------
<project default="netstat">
<target name="netstat">
<exec executable="netstat.exe">
<arg value="/ano" />
<arg value="/p" />
<arg value="tcp" />
</exec>
</target>
<target name="ipconfig">
<exec executable="ipconfig.exe">
<arg value="/all" />
</exec>
</target>
</project>
--
Michael Ludwig
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]