MS-DOS
Jump to navigation
Jump to search
Useful Scripts
Pinger
This script allows you to launch multiple new instances of continuous pings
@echo Off
REM If there's a 2nd command line param (eg :START) go to it
If not "%2"=="" GoTo %2
:GETIP
set /P IP=Enter address to ping:
echo Starting new window to ping %IP%
echo.
REM Start a new command shell with this script and command line args of %IP% :START
start Cmd /C %0 %IP% :START
goto :GETIP
:START
title %1
@echo on
ping -t %1
@echo off
ping 127.0.0.1 > NUL
:END