Faire un ping en vbs

Bonjour,

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

1 réponse

  1. Voilà le code :

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

    Yann
    0