
for /L %%i in (1, 1, 255) do ping 192.168.1.%%i
Of course, you have to use your own subnet mask instead of 192.168.1 in the example above. Hope this small script will help you to write your own powerful batch files.
This is a blog of Dr.Batcher's development team. Dr.Batcher is the batch files creation and editing software providing you with the simplest way to create and edit batch files. So here you can find information on batch scripting techniques and development of Dr.Batcher.
No comments:
Post a Comment