@echo off rem *** REMAKE.CMD: Invokes PC-RDist to distribute image to target. *** rem rem SYNTAX: REMAKE target rem rem PARAMETER: rem rem target rem computer, lab, or group of labs to remake. rem rem Requires massproc.cmd, downdist.cmd, timeout.exe. setlocal enableextensions set target=%1 set conftext=remake :main call massproc.cmd if defined exit goto end soon %unc% 120 /i downdist.cmd > nul at %unc% goto main :end timeout 10 endlocal