Re: runas - ERROR?

jvdzande <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
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.