Partage
  • Partager sur Facebook
  • Partager sur Twitter

[BATCH]commande ping

    4 octobre 2006 à 17:14:14

    bonjour a tous je souhaitais juste faire un petit script en bat qui me permettrait de voir mon ping juste en double cliquant sur l'icone du .bat
    enfin voila le probleme c est que la commande s'execute parfaitement si j ouvre d abord une invite de commande ms dos mais pas quand je met la commande dans un .bat :

    ping www.google.fr
    PAUSE


    la comme ca la commande s execute pas et en plus se repete a l infini ...

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr

    C:\Documents and Settings\matthieu\Bureau>ping www.google.fr
    ......


    voila si quelqu'un a deja rencontrer ce probleme ou si quelqu'un pouvait m aider ca serait simpa !
    • Partager sur Facebook
    • Partager sur Twitter
      4 octobre 2006 à 17:45:54

      c'est surement parceque tu a appeler ton fichier ping.bat ou ping.cmd :)
      donc il appele le fichier qui lui se rappel etc a l'infini .....
      met un autre nom a ton fichier
      • Partager sur Facebook
      • Partager sur Twitter

      [BATCH]commande ping

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown