Hello,
 
This is more of an question related to Microsoft Admin tools, not ANT build 
tool !!!
But, since I work with Windows Boxes I might be able to help you.
Take a look at the sc.exe executable for starting/stopping/managing Windows 
Services (local and remote)
 
later,
 
Ninju

----- Original Message ----
From: "Shinde, Vijay" <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Tuesday, December 13, 2005 10:45:49 AM
Subject: ANT EXECUTE TASK


I am using this tasks to start/stop windows services.

Is there any way I can able to START/STOP services on other server.


<exec executable="net">
        <arg value="stop"/>
        <arg value="World Wide Web Publishing Service"/>
  </exec>
  <exec executable="net">
      <arg value="stop"/>
      <arg value="IIS Admin Service"/>
  </exec>

Vijay

---------------------------------------------------------------------
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]

Reply via email to