Morning!

Just a question, when I read the udf it states -
;Parameters:
; COMMAND : REQUIRED. String value indicating the command line used to run the script.
; The command line should appear exactly as it would if you typed
; it at the command prompt.
;

, shouldn't you just be able to go WshPipe("%COMSPEC% /c c:\psgetsid.exe \\*") ?
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!