Jump to content

Recommended Posts

Posted

Hi, 

I am writing a long script that among other things, should retrieve list of folders. Sometimes folder access requires different account. I can create query box that would ask for credentials and pass them to the function, but is there a way to run _FileListToArray with different credentials? 

Posted

Thanks for suggestions. However, different account are not administrators, just different user account that have access to certain folder on a shared drive. 

RunAs allows running external program or batch script in Command prompt, not AutoIt function.  

Posted
17 minutes ago, Ostap said:

RunAs allows running external program or batch script in Command prompt, not AutoIt function

You can create an .exe autoit and run it with runas, so yes it is possible to use _filelisttoarray with diff credentials !

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
  • Recently Browsing   0 members

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