Jump to content

error after calling RunAsSet()


Recommended Posts

Hi,

in very rare cases I do get ERROR_ENVVAR_NOT_FOUND after calling RunAsSet(). Tha'ts ther error GetLastError() returns (ERROR_ENVVAR_NOT_FOUND = The system could not find the environment option that was entered.) I call RunAsSet() with the default option to load the user profile (for no special reason). Any idea what could cause that error message? I tried to debug it, but it's not easy, as it happens just once in a while and most of the time I do not have access to the system where it happens (User Laptop).

I use AutoIT 3.2.2.0 on WindowsXP and Windows 2000. Oh, and please no "Update to 3.2.4.9" comments. That's not possible at the moment.

Thanks!

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Hmm, I remember reading on a help problem that you can not RunAsSet a ShellExecute or Run command. If I am wrong please correct me.

You cannot use RunAsSet() with ShellExecute(), but obviously with Run() !??!

Anyway, my problem is with Run() and RunAsSet(). Anybody ???

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...