I created a simple batch file to ping a particular server. The instructions simply are
ping -t 10.80.0.247
it works great on my work pc but on my laptop and home pc it wont . Everytime I launch it, I get c:\ ping 10.80.0.247 scrolling many times until I close the window. The actual command doesnt run, just the text scrolls. Tried without the -t and same results. I can run from command prompt and works great. Any suggestions?
Ah ha! I think I figured this out. What are you naming your batch file? It's not PING.BAT is it? I bet it is.
You can either change the contents of the file to read
ping.exe -t 10.80.0.247
However simply having a file named Ping might cause you other troubles later on. Best solution is to rename the batch to something else, like PINGER.BAT or whatever. And then make sure there is no PING.BAT left behind.