Skip to main content

exampleHello, I have a .bat file that I need the bot to run but as administrator, as opposed to just straight opening the file (screen shot included of what I need). Is there a parameter I can use in the application: open program/file command that will do this?

 

I think with AA command it will not possible, instead edit this bat script to always open as admin, follow this article:

 

https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode/p>

 

Cheers,

Ikshit Dhawan


You may also try the option below when running the bot:

 

image


Hi! Thank you for your response! I had actually found that same post yesterday afternoon! This response worked for me:

imageI put my shortcut on the Desktop, and then when I am telling AA to open it, reference the shortcut location like this:

image 

For your second suggestion, the bot always runs as admin in my case but when opening a bat file you have 2 options: 'Open' and 'Run as administrator'. Even as an admin if I simply 'Open', I still get an 'access denied' error on some of the actions.


Reply