Batch file to prompt UAC like Run as administrator [duplicate]

Posted on

QUESTION :

How can I get a batch file to prompt for UAC on Windows Vista to Windows 8 to run with Administrator rights – that is – other than right clicking on the batch file and hitting “Run as Administrator”?

ANSWER :

By using 3rd party tool elevate.exe like this:

elevate example.bat

Leave a Reply

Your email address will not be published.