Answer» Hi all
I am using Windows xp OS and NEED help on a two simple issues. I'll really appreciate if you can help me.
Issue 1. I want to ping an IP address continuosly and log the ping results as text file. If it is possible, I want to execute both commands(ping and log) in the same line. What would be the correct command syntax? (I mean I need to execute both ping and log with one "ENTER")
PS: I have to see the ping reply packets on the screen while it is being logged at the same TIME.
Issue 2. I need to ping 20 IP addresses on 20 command line windows at the same time, log the ping results as well. In other words I need to do Issue one on 20 windows and 20 IP addresses. Could you help me how to create a script about do Issue 2 with one command?
command line window 1: pings and logs 172.17.48.2, command line window 2: pings and logs 172.17.49.2, ... ... command line window 10: pings and logs 172.17.48.66
Thank in advance for helping You probably need to ask these questions in the DOS or Programming forums. But first, a caveat. Unless you are responsible for the target machine, you should think twice before running a continuous ping against it. Most site ADMINS would consider it a breach of netiquette. That said, I assume you want to do this to test whether one of your own systems is up, which is fine. Choose a reasonable delay between pings, to keep bandwidth use down.OK ROB THANKS, I ll PUT THIS IN PROGRAMS NOW
|