Last active
November 30, 2019 02:03
-
-
Save 7cc/3b013b8ddf5c77c3252c8ab7327fc5eb 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
powershell -command Start-Process cmd -verb runas -ArgumentList /k,cd,$PWD | |
# 相対パス | |
powershell -command Start-Process notepad -verb runas -ArgumentList (Resolve-Path .\file.txt) | |
powershell -command Start-Process notepad -verb runas -ArgumentList $PWD\file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment