Group: hr.org.fer · Group Profile · Search for Lab02 in hr.org.fer
Author: Matija
Date: Apr 16, 2008 09:40
Maybe something like this in a .vbs set owsh = createobject("wscript.shell") for i = 1 to 20 if i < 10 then x = "0" & i Else x = i End If owsh.run("%%comspec%% /c shutdown -m \\" & x),0 wscript.echo x next JamesPang wrote: We have 20 computers in the lab, and have a shutdown script shutdown -m \\lab01 shutdown -m \\lab02 . . . shutdown -m
|