I believe I saw this topic before but I cannot see any suggested
solution.
My question is:
I got a vbs script that runs perfectly if I execute in a cmd shell
cscript sample.vbs > outfile
All output is captured in the outfile.
If I put the same line in a schedule task, the task will be executed
but no output is captured in the outfile. How can I overcome this?
Thanks for any suggestion.
PS. Please do not suggest amending the vbs script itself to capture the
output. This is not a solution.