open an app as admin using QProcess
I have script .bat file i want to use QPorcess to run it or whatever to make this app run but i want it to run as an admin like i open it manually i right click it and select run as administrator how can i do this? because the script not execute and do it's job until it run as administrator.
as i made alot of search but all i found is make the qt app itself run as admin
Thanks in advance
There are many way to ask for escalated privileges but it often its just easier to reuse
some solution , like
http://www.soft.tahionic.com/download-run as admin console command/index.html
@mrjj Thank you very much i choose the third solution which is RunAdmin.exe and use it in with Qprocess and it working fine Thanks again