Batch ping serveurs avec alerte si nok
Fermé
Deddy
-
26 nov. 2013 à 13:16
dubcek Messages postés 18728 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 29 mai 2024 - 26 nov. 2013 à 13:54
dubcek Messages postés 18728 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 29 mai 2024 - 26 nov. 2013 à 13:54
A voir également:
- Autoit ping
- Autoit - Télécharger - Divers Utilitaires
- Ping port - Forum Windows
- Ping instable ✓ - Forum Réseau
- T'as du ping def ✓ - Forum Réseau
- Ping facebook.com ✓ - Forum Facebook
2 réponses
dubcek
Messages postés
18728
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
29 mai 2024
5 615
Modifié par dubcek le 26/11/2013 à 14:35
Modifié par dubcek le 26/11/2013 à 14:35
hello
le fichier liste.txt contient les noms ou les IPs, 1 par ligne; on boucle 1000x
le fichier liste.txt contient les noms ou les IPs, 1 par ligne; on boucle 1000x
for /L %%a in (1,1,1000) do (
for /f "delims=" %%b in (liste.txt) do (
ping -n 6 %%b > NUL
if %errorlevel% NEQ 0 echo %%b not ok
)
)