Slightly off topic - batch files

patrickmuldoon99

Active Member
Joined
Jun 27, 2006
Messages
345
Hey all,

Bit of a long shot here I know - but does anyone know how to write a batch file that will loop indefinitely, pinging a given ip and writing the stats to a text file stored locally?

There is something very strange going on with the connectivity between all wireless cards and routers in my house, and this seems to be a solid way to determine if there is a trend in slow-down.

Any ideas?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Adjust the IP number
Hit CTRL+C to stop the loop

:loop
ping 000.000.000.000 >> c:\loop.txt
goto loop
 
Upvote 0

Forum statistics

Threads
1,218,625
Messages
6,143,580
Members
450,493
Latest member
Woejeber

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top