wellcome on board,
how's the weather in nääsville?

what you need is remotecmd (from reskit)installed if you want to run remotely the script.

the running is then simple as:
shell "command_syntax"

just looked your other post and seems that system account is enough for you. then you might do also the following:

code:

shell "%comspec% /c net time \\$machine > %temp%\$machine"
$ = open(1,"%temp%\$machine")
$time = readline(1)
$ = close(1)
$time = substr($time,1,2)+":"+(val(substr($time,4,2))+2)
shell "%comspec% /c AT \\$machine $time /interactive C:\Temp\Script.cmd"

this way script is run in one to two minutes.

[ 03 August 2001: Message edited by: Lonkero ]

_________________________
!

download KiXnet