1.

Solve : Generate Ping Test Report?

Answer» <html><body><p>Hi all, <br/><br/>I'm a beginner of Dos Command.<br/><br/>I would like to <a href="https://interviewquestions.tuteehub.com/tag/write-746491" style="font-weight:bold;" target="_blank" title="Click to know more about WRITE">WRITE</a> a batch file to <a href="https://interviewquestions.tuteehub.com/tag/generate-245634" style="font-weight:bold;" target="_blank" title="Click to know more about GENERATE">GENERATE</a> a ping <a href="https://interviewquestions.tuteehub.com/tag/test-13460" style="font-weight:bold;" target="_blank" title="Click to know more about TEST">TEST</a> report.<br/><br/>echo %date% %time%<br/>ping <a href="http://www.netvigator.com">www.netvigator.com</a> -n 200<br/><br/>I can run the above command in the command promt, but after I save it on the .bat file, it cannot run <a href="https://interviewquestions.tuteehub.com/tag/properly-1733030" style="font-weight:bold;" target="_blank" title="Click to know more about PROPERLY">PROPERLY</a>, it seems loop continuous...<br/><br/>Is dos command support to generate the content to a txt file?well what "loop" are you experiencing?<br/><br/>the ping is set to keep pinging untill it hits 200.<br/><br/> <a href="https://interviewquestions.tuteehub.com/tag/code-25512" style="font-weight:bold;" target="_blank" title="Click to know more about CODE">CODE</a>: <a>[Select]</a>-n count       Number of echo requests to send.<br/><br/>can you explain more of what is happening?You can make a report of ping.<br/><br/><br/> Code: <a>[Select]</a>echo %date% %time%&gt;&gt;"c:\report.log"<br/>ping www.netvigator.com -n 200 &gt;&gt;"c:\report.log"<br/><br/>You can change the path as per your requirement. <br/><br/>I hope you are happy<br/><br/><br/>  <br/><br/>Thanks and regards<br/>Vishu</p></body></html>


Discussion

No Comment Found