use o comando de linha do DOS
(type that command in DOS prompt)

%windir%\system32\NET.EXE stop iisadmin /y

apos isto use (after that type...)
%windir%\system32\NET.EXE start iisadmin

ou (or...)

%windir%\system32\NET.EXE start "world wide web
publishing service"


tchau





> Hi,
>
> I want to stop and restart IIS service on a machine
through JAVA. Is it possible? If so, how?
>
> Thanx,
> Hardeep Singh
> http://SeeingWithC.cjb.net
>


__________________________________________________________________________
AcessoBOL, só R$ 9,90! O menor preço do mercado!
Assine já! http://www.bol.com.br/acessobol

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to