Launching Explorer from WSL

ripper234 picture ripper234 · May 29, 2017 · Viewed 7.2k times · Source

start . is used to launch an explorer window from cmd.

When doing the same from wsl, I get

$ start . start: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

Is there an easy way to fix this?

Answer

onoma picture onoma · May 31, 2017

On Creators Update you can call Windows executables from WSL if you add the extension file. You can open the present folder like this.

explorer.exe .

But it will only works if you are on a Windows folder (/mnt/*) otherwise it will open c:\windows\system32 folder by default.

If you still need start then you can create an alias

alias start='cmd.exe /c start'

then start . will work too.