Faire un ping en vbs

Bertrand -  
 Yann -
Bonjour,

Voila, je souhaiterais pouvoir faire une commande dos en vbs, qui pourrait exécuter un ping.

1 réponse

  1. Yann
     
    Voilà le code :

    Set wshell = CreateObject("WScript.Shell")
    wshell.Run "ping localhost"

    Yann
    0