I run this as a Scheduled task. If I stay logged on, it runs without error.
If I log off, the objExec.Terminate statement returns
c:\Scripts\Myscript.vbs(33, 1) (null): Invalid window handle.
I know the program runs, and exits when I execute objExec.Terminate. What is
the error telling me?
Thank you.
Gary
Or, if you don't need the access to the StdIn/StdOut functions, etc.
that Exec provides, you could just switch to the Run method instead.
Tom Lavedas
============
http://my.fcc.net/~tglbatch/wshindex.html (new URL - old content)
Gary
"tlavedas@hotmail_DOT_com" <tlav...@hotmail.com> wrote in message
news:1134855417....@g43g2000cwa.googlegroups.com...