How to save ping in text file cmd




















Success Center. Select your Preferred Language from the below list. Featured Topics. Publishing Information First Published Date. Last Published Date. Information Title. Ping Test and save to text file. Environment Select the products and versions this article pertains too. NPM XXX with the target IP address.

Did you know? Solarwinds offers fully functional free trials of all of our products, from network and systems management to IT Security and Database Monitoring Free Trials and Downloads. Related Articles Info. No related articles yet. Articles are related if tend to be read by the same people. Fill out my Wufoo form! The result? Active Oldest Votes. This is just the normal behaviour.

Improve this answer. Windows scripting behaviour little differ when you running commmands directly in console, and when you put your commands into a batch file and start whole batch from console.

But if you prefer not to see it, put a echo off as the first line in the batch file or use ping NishantKumar, it seems that your batch file is called ping. Rename the batch file recommended or change the line to ping. Show 3 more comments.

Powershell with timestamp and appended to file. Cem Cem 65 1 1 silver badge 4 4 bronze badges. Could you please explain how this answers the question? I see no relation Sign up or log in Sign up using Google. That will pipe the results of ping to a textfile named textfile. Save the file make sure you change file type from. You can then run the batch file for example, pinglogger.

The result will be a text file named pinglog. That script is buggy. This is the working one for x use an existing number That was why I suggested that path, rather than hard-writing the address into your ping file. Then you have to have multiple batch files for multiple hosts.

Just seems less functional. Toolbox windows-xp-pro-lif one enters pinglogger. No Account? Sign up. By signing in, you agree to our Terms of Use and Privacy Policy. Already have an account? Sign in.



0コメント

  • 1000 / 1000