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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Bruno

Active Member
Joined
Feb 17, 2002
Messages
491
Adjust the IP number
Hit CTRL+C to stop the loop

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

Forum statistics

Threads
1,136,307
Messages
5,674,986
Members
419,541
Latest member
freddyboots

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
Top