0

I have created a C software for windows, and i need it to open a .bat file. I know how to make my software launch the .bat file, but actually it does nothing. That is because the instructions inside of my .bat needs admin priviledges to work. So the question is, how can i automatically open the .bat file with admin priviledges (or either make the permission pop-up appear and give it admin rights) ??

al366io
  • 40
  • 7
  • 1
    Related: [How to code a BAT file to always run as admin mode?](https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode). – Weather Vane Jun 01 '22 at 07:45
  • @WeatherVane Thanks, couldnt find it. That solved my prob. – al366io Jun 01 '22 at 08:30

0 Answers0