hahahahahhahahahahahah

got it... No error checking yet, but here is the basics.

code:
rmtexec("notepad.exe","wheelerc_2nd")
? @error @serror

;****************************************************************************************************
FUNCTION RMTEXEC($cmd, $computer, optional $pid)
dim $rmt, $exec
if not $pid $pid=999 endif

$rmt = GetObject("winmgmts:{impersonationLevel=impersonate}!\\$computer \root\cimv2:Win32_Process")
$exec = $rmt.Create($cmd,,,$pid)

exit @error
ENDFUNCTION

_________________________
How to ask questions the smart way <-----------> Before you ask