Re: Scheduled script problem
On Fri, 16 Nov 2007 13:15:01 -0800, dk <dk@discussions.microsoft.com>
wrote:
> Thank you Tom.
> I don't have admin rights on the server, so I did not set up the
> scheduled
> operation. Nor can I look at it. So I don't know (yet) if the script
> can
> run interactive.
>
> I think I had already tried the Run command, but now I'm getting
> different
> result, at least when running the script from the command line.
>
> With the Run command, I now get the error:
> No application is associated with the specified file for this operation.
>
> So I assume that a separate shell that is being launched to run the
> strPath
> doesn't know about the standard file extensions and how to run them.
>
> "Tom Lavedas" wrote:
>
The script works when I log in and run it on the server in question.
My IT guy tries it, from the scheduled task (run now option) and it hangs.
Your suggestion that the script run interactive: That is the default
setting for both cscript and wscript, so why should I set it? I will set
it, but it seems to be a non-issue. Now, whether interactive is allowed
for the account if no one is actually logged in on that account, that is
another story. I'm looking for that info on the net.
dk
|