diff --git a/pages/windows/wsl-open.md b/pages/windows/wsl-open.md new file mode 100644 index 0000000000..e9a93741dd --- /dev/null +++ b/pages/windows/wsl-open.md @@ -0,0 +1,24 @@ +# wsl-open + +> Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI application. +> More information: . + +- Open the current directory in Windows Explorer: + +`wsl-open {{.}}` + +- Open a URL in the user's default web browser in Windows: + +`wsl-open {{https://example.com}}` + +- Open a specific file in the user's default application in Windows: + +`wsl-open {{path/to/file}}` + +- Set `wsl-open` as the shell's web browser (open links with `wsl-open`): + +`wsl-open -w` + +- Display help: + +`wsl-open -h`