1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:02:07 +02:00
tldr/pages/windows/wsl-open.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

24 lines
564 B
Markdown

# wsl-open
> Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI application.
> More information: <https://gitlab.com/4U6U57/wsl-open>.
- 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`