MS-DOS

From vwiki
Revision as of 09:17, 6 August 2010 by Sstrutt (talk | contribs) (Added "Pinger")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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