microsoft / microsoft/WSL

Feature: Open Command

Open
#5,147 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

When in a WSL terminal, it would be nice to be able to open a file explorer against a directory.

For example open ~/ would open file explorer at \\wsl$\SYSTEM\home\USER.

As a bonus it would be cool, if one typed open ./foo.html it opened via file://wsl%24/SYSTEM/path-to/foo.html Using whatever file handler is registered as an editor/viewer for the file extension, similar to double clicking in file explorer on said file.


Aside: would be nice if this command was in windows itself.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the requested examples in a WSL terminal: open ~/ and open ./foo.html. Define the command behavior for directories and files, including the shown \\wsl$\SYSTEM and file://wsl%24 targets and registered Windows file handlers. Done means both examples open through the requested Windows behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.