Difference between revisions of "MS-DOS"
Jump to navigation
Jump to search
(Added "Pinger") |
(No difference)
|
Revision as of 09:17, 6 August 2010
Useful Scripts
Pinger
@echo Off
If not "%2"=="" GoTo %2
:GETIP
set /P IP=Enter address to ping:
echo Starting new window to ping %IP%
echo.
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