sudo for windows
C:\>sudo cmd /c dir
Then, you'll see the UAC dialog.
sudo cmd /c type secret-file.txt > accessible-file.txt
echo 123 | sudo my-command.exe | more
sudo netsh interface ip add address "Local Area Connection" 33.33.33.33 255.255.255.255
sudo notepad c:\windows\system32\drivers\etc\hosts
sudo
go install github.com/mattn/sudo@latest
requirement go1.8 or later.
Or download from release tab.
MIT
Yasuhiro Matsumoto (a.k.a. mattn)