Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launching Explorer from WSL

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?

like image 585
ripper234 Avatar asked May 29 '17 15:05

ripper234


1 Answers

Since 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 .

If you still need start then you can create an alias

alias start='cmd.exe /c start'

then start . will work too.

like image 120
onoma Avatar answered Nov 13 '22 06:11

onoma