General discussion
January 27, 2002 at 07:23 PM
steve.doig

ping looping

by steve.doig . Updated 24 years, 7 months ago

G’Day Folks,

In a cmd prompt in Win2K, entering:
ping 192.168.100.2
will see the the command repeating itself and making the screen continuously scroll, with no output.

However, I have a shortcut pointing to:
%windir%\System32\cmd.exe /k c:\ping.bat
which contains:
ping 192.168.100.2

How do I get a normal cmd window to run a command once only?

This discussion is locked

All Comments