Skip to content

Commit

Permalink
Fix 1-add-open-wsl-terminal-here-menu.js for Classes\\Directory\\shell
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Sep 17, 2017
1 parent f0649ce commit 786e20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/1-add-open-wsl-terminal-here-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var WshShell = new ActiveXObject("WScript.Shell");
WshShell.CurrentDirectory = "..";
WshShell.RegWrite("HKCU\\Software\\Classes\\Directory\\shell\\open-wsl\\", "Open wsl-terminal Here", "REG_SZ");
WshShell.RegWrite("HKCU\\Software\\Classes\\Directory\\shell\\open-wsl\\command\\"
, WshShell.CurrentDirectory + "\\open-wsl.exe", "REG_SZ");
, WshShell.CurrentDirectory + "\\open-wsl.exe -W \"%V\"", "REG_SZ");
WshShell.RegWrite("HKCU\\Software\\Classes\\Directory\\Background\\shell\\open-wsl\\", "Open wsl-terminal Here", "REG_SZ");
WshShell.RegWrite("HKCU\\Software\\Classes\\Directory\\Background\\shell\\open-wsl\\command\\"
, WshShell.CurrentDirectory + "\\open-wsl.exe", "REG_SZ");

0 comments on commit 786e20c

Please sign in to comment.