Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

earl22online

The Devotee
Advanced Member
Messages
378
Reaction score
0
Points
26
Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

Kung repost na po ito....pakidelete na lang po, or kung nagkamali po ako ng lugar, paki-lipat na lang po sa tamang thread place. :thanks: po :yipee:

Basic ping batch command:

@echo off
ping google.com -t

or

@echo off
cd \
ping google.com -t

Hello po :yipee: gusto ko lang po ishare itong gamit ko na CMD pinger total may nag-ask na rin po sa akin na ishare ko na sya :yipee:

We are using ping command to monitor the networks, sometimes we have to monitor multiple IP address with continuous ping in different windows. Normal command line is with a black colour background and white text. But it will be better to show a red window if the Request timed out. And the default success pings with a green background. Here is the script to do the ping with color output results.

My CMD Pinger with reply background color indicator! :excited:

ping-color.gif


Color Legend:
Green - with reply
Red - request timed out

What is happening in this Batch file?

Prompting an IP address and set to a variable named %IP%, and its pinging once with 32 bytes of data. If it is failed the background color will change to red. And display “Request timed out” then wait for some title . We used a self ping for sleep function. The code put it in loop so it will ping continuously.

Original Batch Script

:: Batch Script
:: color Ping
:: Code By Binbert.com
echo off & cls
set /p IP=Enter your IP Address :
:top
PING -n 1 %IP% | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F)
color %OUT%
ping -n 2 -l 10 127.0.0.1 >nul
GoTo top

My Modified Batch Script

:: Batch Script
:: Color Ping
:: Code By Binbert.com
:: Edited By FreeSoftAppZ.webs.com
echo off & cls
:top
PING -n 1 www.google.com | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F)
color %OUT%
ping -n 2 -l 10 127.0.0.1 >nul
GoTo top

115257f9a17d7520394d449248ac8ed0190389dd8404da4e8bad1d7de9bff2616g.jpg


Credits to Albin [binbert.com]

Download
http://www.mediafire.com/?3vvt5m15anm01vw

Additional command by sir edzrhomski07

siguro lagyan mo nito ts. para di masyado malaki.

:: Batch Script
:: Color Ping
:: Code By Binbert.com
:: Edited By FreeSoftAppZ.webs.com
mode 53, 20
echo off & cls
:top
PING -n 1 www.google.com | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F)
color %OUT%
ping -n 2 -l 10 127.0.0.1 >nul
GoTo top

Adjust the size of its window from this line: mode 53, 20
where "53" is the width size, and "20" is the height size.

Recommended window size command is: mode 54, 15

Comment by goldentarsier

salamat po TS... ang galing niyo naman sa paggawa ng script.. hehe.. ako nangangamote jan.. xD .. TS.. parequest.. lagyan mo po ng FLUSHDNS... ang command po nun ay "ipconfig/all" (without quotes) .. tnx... wait ko po... :)

with FLUSHDNS & REGISTERDNS:

:: Batch Script
:: color Ping
:: Code By Binbert.com
:: Edited By FreeSoftAppZ.webs.com
mode 54, 15
@echo off
cd \
ipconfig/flushdns
ipconfig/registerdns

echo off & cls
:top
PING -n 1 202.126.40.5 | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F)
color %OUT%
ping -n 2 -l 10 127.0.0.1 >nul
GoTo top

OR

:: Batch Script
:: color Ping
:: Code By Binbert.com
:: Edited By FreeSoftAppZ.webs.com
mode 54, 15
echo off & cls
cd \
ipconfig/flushdns
ipconfig/registerdns

:top
PING -n 1 202.126.40.5 | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F)
color %OUT%
ping -n 2 -l 10 127.0.0.1 >nul
GoTo top

Comment by rome4u

ts paano iintegrate with config file tong pinger mo?

Download nyo po ito then extract, copy & paste nyo na lang po dun sa config folder ng vpn nyo, wala na po kayo babaguhin sa configs nyo kung gamit nyo yung mga FREEMIUM VPNs na share ni SIR DUF po yung latest updates po nya sa mga vpn theads nya specially HSS & EXPAT po.

Comment by sir 89dufpogidjv

89dufpogidjv said:
ts paano gawing red color ung "Request time out." na word? parang mas maganda ata kung ung text ang nagiiba ng kulay pag may reply color blue pag request time out naman color red pero ung background black pa din.

73748748.jpg

Eto na po share ni sir ramini :thanks: to him for providing different variant for the pinger, download nyo na lang po here:

http://www.mediafire.com/?b3eklgwscp4e0z2

or

original post: http://www.symbianize.com/showpost.php?p=8823497&postcount=54



Hit :thanks: button na lang po if you like my post :thanks: :thumbsup:


Other Ping Tool: http://symbianize.com/showthread.php?t=354777
 

Attachments

  • cmd-pinger.jpg
    cmd-pinger.jpg
    84.8 KB · Views: 76
  • pinger.zip
    377 bytes · Views: 568
Last edited:
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

mAKE it ping -t google.com
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

-- HIT na sana kita pero di pa available eh :giggle:

> Thanks for sharing po :barbell:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

siguro lagyan mo nito ts. para di masyado malaki.

:: Batch Script
:: Color Ping
:: Code By Binbert.com
:: Edited By FreeSoftAppZ.webs.com
mode 53, 20
echo off & cls
:top
PING -n 1 www.google.com | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F)
color %OUT%
ping -n 2 -l 10 127.0.0.1 >nul
GoTo top
 
Last edited:
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

nice idea po sir! :thanks: po sa additional commands :thumbsup:

thanks din 4 sharing dis.
dagdag ko lang ts kung mejo masikip or parang may space bawat ping palitan mo lang yung 53 sa mode 53, 25
gawin mong 54, 55, 56 etc . :salute:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

@edzrhomski07

ahh...ok po sir! :thanks: ulet sa good tips po :thumbsup:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

@edzrhomski07

uhm, panu naman po yung height nya? yung 25 ba ang papalitan po?
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

@edzrhomski07

ok na pala mga mode 54, 15 hehe.... :lmao:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

Pwede iadd ni sir duf ito sa HSS, EXPAT, etc.... hehehe.... :lol:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

p marka
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

salamat sa share ts para maiba naman ang pinger ko...:dance: :thanks:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

waw ang lupit mu otor
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

thanks otor!patry aq!
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

Thanks TS :)
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

Thanks dito TS. Bookmark ko para matry :salute:
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

ayus salamat
 
Re: Make Our CMD Pinger More Attractive!!! [PINGER FOR HSS, EXPAT, & OTHER VPNs]

pa marka din otor...:yipee: nice tutorial try ko later
:yipee:
 
Back
Top Bottom