Re: runas - ERROR?

Stefan Lubitz <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
That's not correct. Also if the WorkingDir is valid, you will receive 
the error under WinXP (working on W2K) if you don't use the Path parameter.
I agree with Carsten. This should be changed or noted in the Help file. 
It took me two days to figure out where the problem was related. And 
still I don't understand where the error comes from.

Regards,
Stefan

jvdzande schrieb:
>
> When you use RunAsSet() it will give an issue when the WorkingDir is
> not valid for the new RunAs credentials. This happens for example
> when you run the script from a network share.
> The normal solution is to specify a proper WorkingDir as second
> parameter.
> for the record, it has nothing to do with the path specified for the
> first parameter and it is a good practice to specify the total path
> to the program and not just the program filename only.
>
> Jos
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.