After reading that introduction page, I don't think psexec returns any exit 
code.  And even if it returns, the code could very well just reflect the psexec 
process itself but not the child process which is monitored by psexec.

        Anyway, you'd better ask psexec author for any question.

> -----Message d'origine-----
> De : fgc [mailto:[EMAIL PROTECTED]
> Envoyi : jeudi 29 avril 2004 17:42
> @ : [EMAIL PROTECTED]
> Objet : RealVNC and Psexec
> 
> Hi all,
> 
> I'm using Psexec (http://www.sysinternals.com/ntw2k/freeware/psexec.shtml)
> to remotely install VNC. It works fine--most of the times. I'm launching
> psexec with a VBscript shell.Run("psexec \\machine etc etc). Now I wonder,
> does somebody know how to get an error code to test if the installation
> worked or not? If I do result = shell.Run("psexec \\etc etc), result is
> *always* = 0. I'm suppose this is a vbscript problem (I'm very new to it)
> and as such perhaps not entirely appropiate to this list (apologies), but
> I'm at a loss, and I guess somebody on this list has already got this to
> work and can give me a hint. Thanks in advance,
> 
> Fg
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to