LoginSignup
1
1

More than 5 years have passed since last update.

エクスプローラーのフォルダ右クリックメニューに「Open with Bash」を追加する

Last updated at Posted at 2017-09-23

掲題の通り。
(当然ですが、WSLがインストールされていることが前提です。)

以下コマンドでレジストリ追加して終了!

reg add HKEY_CLASSES_ROOT\Directory\shell\bash /t REG_SZ /d "Open with Bash"
reg add HKEY_CLASSES_ROOT\Directory\shell\bash\command /t REG_SZ /d "C:\Windows\System32\bash.exe"
reg add HKEY_CLASSES_ROOT\Directory\Background\shell\bash /t REG_SZ /d "Open with Bash"
reg add HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command /t REG_SZ /d "C:\Windows\System32\bash.exe"

おわり。

1
1
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
1
1