Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- REM Escape quotes in the parameters.
- REM
- set ARGS=%*
- set ARGS=%ARGS:"=\"%
- REM Run as administrator
- REM
- runas /user:administrator "%ARGS%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement