Hello and thanks for the responses. In addition to exporting the information to CSV as say:
"Tue 03/17/2009","15:15:08.08","192.168.2.231",46,193,83
every 60 seconds...I was wondering if there was a way to write every ping that composed that 60 second interval to RealTime.txt so I would have my CSV with the information like above + information like below in RealTime.txt to look at the intervals more closely to look for patterns etc to the response times vs only having the resolution of 1 minute intervals with the Minimum, Maximum, and Average.
To match up 60 second intervals a start and stop %date% %time% is added at the beginning of the interval and end of the interval so each ping is 1 second in resolution to that 60 second interval written to the CSV. So if anything looks ugly like a 600ms response time I would know in a finer resolution down to the second or seconds at which it stayed at 600ms or around there and can then look at other data on hand to try to figure out what is going on.
Opening RealTime.txt would show the following if possible: ( This is beyond my batch coding abilities but it should be able to happen although I am unsure as to if the actual ping can be written to the RealTime.txt file while it is already performing the FOR argument for the write to the CSV for every 60 sec interval.)
*Note: There are not 60 pings here to save from the scrolling madness and this output below was fabricated and I dont have code yet that does this that works with the original batch! Also the extra steps may offset the CSV by 1 sec or so between readings in which actual recorded intervals are 61 or 62 seconds as it performs the extra write to files every second.
...............Started at Tue 03/17/2009 at 15:29:14.19
Reply from 192.168.2.231: bytes=32 time=6ms TTL=122
Reply from 192.168.2.231: bytes=32 time=6ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=9ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=12ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=6ms TTL=122
...............60 second Interval at Tue 03/17/2009 at 15:30:14.19
...............Started at Tue 03/17/2009 at 15:30:14.20
Reply from 192.168.2.231: bytes=32 time=6ms TTL=122
Reply from 192.168.2.231: bytes=32 time=6ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=8ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=9ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=12ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=7ms TTL=122
Reply from 192.168.2.231: bytes=32 time=6ms TTL=122
...............60 second Interval at Tue 03/17/2009 at 15:31:14.19