Expert Software Company : News

miercuri, 19 mai 2010

Verifica daca un SERVICIU de Windows RULEAZA

oShell = CREATEOBJECT("Shell.Application")
? oShell.IsServiceRunning("Mysql")

Opreste serviciul

?oshell.ServiceStop("mysql", .T.)

Porneste serviciul

?oshell.ServiceStart("mysql", .T.)

Niciun comentariu:

Trimiteți un comentariu