I'm trying to create a batch file to grab DNS names from a ping, using ping -a I have ping -a x.x.x.x over and over, and I have it outputting to a text file. The text file is just filled with the command over and over again. How do I make this actually run the ping command?
It works fine for me. Here is my bat file:
[code]@echo off
ping -a 209.85.143.104
call a.bat > a.txt[/code]
[QUOTE=djjkps3;30976173]It works fine for me. Here is my bat file:
[code]@echo off
ping -a 209.85.143.104
call a.bat > a.txt[/code][/QUOTE]Awesome. Thanks.
Sorry, you need to Log In to post a reply to this thread.