2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Windows (Preview ) Terminalを簡単に起動する方法(エクスプローラーから起動)

Last updated at Posted at 2021-02-23

内容

  • Windows Terminalを起動するときは、エクスプローラーから起動するのが簡単です。
  • エクスプローラーのアドレスバーにwtと入力してEnterで起動
  • image.png
  • この起動方法が活かされるのが、エクスプローラーで開いているフォルダをTerminal起動後にカレントにしたい場合です、cmdで開くコマンドプロンプト(MS-DOS)では、何も指定しなくてもそうなっていたので良かったのですが、wtでは現在(2021/2/23)のところ、ひと手間必要です。
    • wt -d .で実行時引数としてカレントディレクトリを指定してあげます
    • image.png

まとめ

  • エクスプローラー上で開いているフォルダ上でTerminal操作したいとき
    • → アドレスバーを編集(Alt+D) 
      • → wt -d . + Enter
    • image.png

おまけ

  • Windows Preview Terminalを使っている方、Windows Terminalのほうがインストールされていなければ、wtコマンドPreviewのほうを起動できます。
  • エクスプローラーのアドレスバーは便利です、是非使いこなしましょう!
2
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?