I created a .BAT file in Windows 7 that has the following line:
PING XXX.XXX.XXX.XXX -t
(XXX replaces the actual IP number). However, when I double click on this batch file, I can see the ping command repeatedly being executed in a loop. I even tried to rename the ping.BAT
to ping.CMD
but the result is the same.
I want to avoid writing ping command through the command prompt, which is why I created the batch file. I don't know why the ping command is being continuously called when the same statement is put in a batch file.
No comments:
Post a Comment