Ping command - query

  Happy37 20:23 07 Jan 2010
Locked

Hi all

Is there such a way so that I can set a ping command:-

ping 123.456.78.102 -t (example)

to run from a shortcut when I click the shortcut icon itself on the Desktop?

Can this be done easily, please?

Ideally, I would like to be able to click the icon and the ping command should start running to ping the IP address that I want to ping.

Thanks in advance.

Rgds

Happy37

  jamesd1981 20:50 07 Jan 2010

is it the same address you want to ping everytime.

  MAJ 21:09 07 Jan 2010

Just create a batch file in Notepad, save it as a .bat file, not a text file, to the desktop (or whereever you want) and doubleclick it when you need it.

ping www. google.co.uk
pause

google is just an example

  Happy37 21:10 07 Jan 2010

jamesd1981

Yes, it is...thanks.

  lotvic 21:14 07 Jan 2010

Right click on desktop, New->Shortcut
In the first window put
ping 123.456.78.102 (or whatever you want to ping)
click on next
in the second one put the name you want the shortcut to have. It will probably name it 'ping.exe' by default

  Happy37 21:35 07 Jan 2010

Thanks all - now working as per lotvic's post...exactly as I wanted it.

lotvic, many, many thanks for this.

Much appreciated.

Rgds

Happy37

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment booster votre iPhone ?