windows - Runas Error 2, trying to run the current Batch instance as administrator -


i'm trying run current batch file run administrator, doesn't quite work. :(

it worked once, don't know did there xd

please take @ code.

:r cls runas /user:administrator rem runas /user:administrator %~n0%~x0 if %errorlevel% neq 0 pause && goto r if %errorlevel% equ 0 cls && goto start  :start cls 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -