Verificar si telnet esta instalado
Visual Fox Pro, WMI Comentarios ( 0 ) »colServices = objWMI.ExecQuery("SELECT * FROM Win32_Service WHERE Name='tlntsvr'")
If colServices.Count = 0 Then
? "Telnet no esta instalado."
Else
For Each objSer In colServices
? objSer.SystemName + " " + objSer.StartMode + objSer.State
Next
EndIf
Por: David Amador T