May 07, 2013

Create a command shortcut icon in windows to run a command like pinging Google website


One of my friend asked me about how we can check whether ping/network is active or not?

He suggested that, if we have a shortcut command icon on desktop to create ping command then it would be easy for any naïve user to check whether ping/network is active or not?



Creating Ping command shortcut with



  1. Right click on the desktop
  2. Select “New” from the pop-up menu
  3. Choose “Shortcut” option
  4. Enter “cmd.exe /K ping” as type of location of the item
  5. Click on “Next” button
  6. Enter “Ping Google” as name for the shortcut
  7. Click on “Finish” button
  8. Now you will be able to view a shortcut icon on desktop with name “Ping Google “ name
  9. When you run (Double click/Select and Enter) the “Ping Google”, you will be able to see that the command prompt displaying the content of running a ping to


Send your feedback and comments to

No comments:

Featured Post

Java Introdcution

Please send your review and feedback to