|First you need a list of the ips. I'm not up to speed on all the ways to get that. If it were to be captured in a file, maybe something like thus:|
@echo off & setlocal enabledelayedexpansion
for /f %%i in (iplist.txt) do (
ping -n 1 -w 3000 %%i && copy \\%%i\c\documents\*.* .\backup || >>backlog.txt echo %%i NOT BACKED UP
the settings of -n and -w are up to you, but a lot of time will be wasted waiting on the defaults (4 tries and 5 seconds per try I believe). Also not clear on specifics, so I just gave you a smudged/ambiguous framework. Also, UNTESTED!