I saw an old post regarding launching a batch file as administrator.
(http://www.indigorose.com/forums/thr...+administrator)
But this solution doesn't suits for my problem since my batch file need args also.
this is my code for running the file without administrator privilege:
Code:
winVer=GetCurrentWindowsVersion(); local rc3 = File.Run((SessionVar.Expand("%AppFolder%").."\\RunCACLS.bat",winVer,SessionVar.Expand("%AppFolder%"),SW_HIDE,true);