Jump to content

Recommended Posts

Posted

Hi,

I was wondering if I could make a batch file that could run a program as an administrator and confirm that it runs as an admin when program asks this at startup. I would also like it to be able to select one of the buttons in the program.

I know I could do this by making a batch file that calls a vbs file, but I have no idea how to implement this...

thanks in advance for your help,

Thundereagle


Posted

I'm not entirely sure what you are wanting to achieve, (from the way you've worded your message), but my suggestion is that you think about using AutoIT for this type of task.

Posted

thanks, I'll give it a try ;)

what I'm trying to do is make a batch file that could for instance launch an app to tweak windows themes (you have to patch some dll to be able to install 3rd party themes). This app needs to be run in admin mode and asks confirmation about it. when the app itself starts you have different buttons available, some to patch, some to unpatch etc

I don't know if this explanation is better :-p

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...