Friday 31 August 2012

make ping file

Open up Notepad

c:\windows\system32\ping 4.2.2.1 -t

or

Title title_name
Color 9F
ping 4.2.2.1 -t


or

ping 4.2.2.1 -t >>txt

or

@ECHO OFF

:LOOPSTART

time /T
ping google.com -n 3660


GOTO LOOPSTART

or

@echo off
title JMS Mail Server
time /T
color 9F
ping 103.5.232.196 -t

Then save this file as a .bat file. e.g. ping.bat



 0 = Black       8 = Gray
 1 = Blue        9 = Light Blue
 2 = Green       A = Light Green
 3 = Aqua        B = Light Aqua
 4 = Red         C = Light Red
 5 = Purple      D = Light Purple
 6 = Yellow      E = Light Yellow
 7 = White       F = Bright White