@echo off rem *** STATUS.CMD: Checks jobs waiting on computer(s) *** rem rem SYNTAX: STATUS [target [jobID]] rem rem PARAMETERS: rem rem target rem computer, lab, or group of labs to check. If omitted, rem current computer is assumed. rem rem jobID rem If specified, STATUS returns more detailed information on rem the job specified. If omitted, STATUS displays a summary of rem all jobs on the target. rem rem Requires massproc.cmd, timeout.exe. setlocal enableextensions set target=%1 set jobID=%2 set conftext=display jobs on :main call massproc.cmd if defined exit goto end at %unc% %jobID% goto main :end timeout 10 endlocal