I have a small script that performs the build and install process on Windows for a Bazaar repository I’m managing. I’m trying to run the script with elevated, administrative privileges from within the Windows shell (cmd.exe)–just as if I’d right-clicked it and chosen Run as Administrator, but without using any method that requires use of the graphical interface.
Share
A batch/WSH hybrid is able to call ShellExecute to display the UAC elevation dialog…