![]() ![]() Now, double-click the batch file and it will then launch your program as administrator.Give it any name you like, but replace the default. Next, save the file by clicking File -> Save.You need to replace the full path of ISO2Disc with your desired application. The above script will make the ISO2Disc utility to always run as administrator. REM -> If error flag set, we do not have admin.Įcho Requesting administrative privileges.Įcho Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"Įcho UAC.ShellExecute "C:\Program Files (x86)\Top Password\ISO2Disc.exe", "", "", "runas", 1 > "%temp%\getadmin.vbs" >nul 2>
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |