Created
September 6, 2021 01:15
-
-
Save aarmn/ed3276f66c4299ca7b0c635451425994 to your computer and use it in GitHub Desktop.
This file contains 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
1. powershell "start cmd -v runAs" | |
2. powershell -Command "Start-Process cmd -Verb RunAs" | |
3. use this sudo.bat code and put it in PATH: | |
@echo off | |
powershell -Command "Start-Process cmd -Verb RunAs -ArgumentList '/c cd /d %CD% && %*'" | |
@echo on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment