Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Outil de maintenance r‚seau
- color 0A
- :debut
- cls
- echo.
- echo.
- echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
- echo º 1. Test du r‚seau º
- echo º 2. Test d'Internet º
- echo º 3. Partir º
- echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
- echo.
- set /p choix=Choisissez un chiffre :
- if "%choix%"=="1" goto Testreseau
- if "%choix%"=="2" goto TestInternet
- if "%choix%"=="3" exit
- goto debut
- :Testreseau
- echo TEST DE VOTRE CONNECTIVITE ...
- echo En cours ...
- Ping 192.168.1.1>nul
- if "%ERRORLEVEL%"=="0" (
- echo PING = Test r‚ussi !
- echo TEST OK !
- echo.
- echo Vous etes connect‚ au r‚seau.
- ) else (
- echo PING = Test non r‚ussi !
- echo TEST NON OK !
- echo.
- echo Vous n'etes pas connect‚ au r‚seau P‚dagogique.
- )
- pause>nul
- goto debut
- :TestInternet
- echo TEST DE VOTRE CONNECTIVITE ...
- echo En cours ...
- echo.
- echo.
- ping www.google.fr>nul
- if "%ERRORLEVEL%"=="0" (
- echo PING = Test r‚ussi !
- echo TEST OK !
- echo.
- echo Vous etes connect‚ a Internet.
- ) else (
- echo PING = Test non r‚ussi !
- echo TEST NON OK !
- echo.
- echo Vous n'etes pas connect‚ à Internet.
- )
- pause>nul
- goto debut
Advertisement
Add Comment
Please, Sign In to add comment