LoginSignup
0
0

More than 1 year has passed since last update.

コマンドから管理者権限付きのWindows Terminalを起動する

Last updated at Posted at 2022-09-25

はじめに

コマンドからWindows Terminalを起動する方法を調べたので、備忘録として記録する。

環境

  • Windwos10 64bit

コマンド

通常の起動

wt -d パス

管理者権限付きで起動

powershell -NoProfile -ExecutionPolicy unrestricted -Command "Start-Process wt -Verb runas -ArgumentList '-d', 'パス'"

2022-09-25 16_44_38-Window.jpg

参考にした記事

Windows ターミナルのコマンド ライン引数 | Microsoft Learn

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0