Last active
July 20, 2017 19:14
-
-
Save paveljurca/371c8a0533b4b55e916407062579cf5c to your computer and use it in GitHub Desktop.
Can I SUDO?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM CAN I SUDO? | |
rem @TODO: error messages get through, why? | |
type nul>>%systemdrive%\sudo 2>nul: || msg %username% "ERR: Must run as administrator" | |
REM running as admin.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment