Blog Archive

Followers

Powered by Blogger.
Tuesday, November 29, 2011

How to Write a Windows Script for Ping Command in windows 8

If you have any network issue, the first troubleshooting step is Ping a gateway and server of your network if the computer is in private network, if it is in public network than you need to ping any globalDNS or online server (Google, Bing or Yahoo)

Steps for how to write Ping Script with screenshots

1. Open notepad
2. Type Ping Google.com –t (-t is switch to ping continues till we terminate the command)
 3. Save the file in .cmd or .bat extension
 4. Execute the windows script file
 5. The Command prompt will automatically runs ping command

0 comments:

About Me