Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 16265  / 1 Year ago, tue, may 23, 2023, 3:26:34

I simply want to see my folder pop up in Windows File Explorer using a command like:



open ./


I've seen examples like:



nautilus ./
xdg-open ./


But I'm using Ubuntu 18.04 LTS inside of Microsoft Windows 10 and I don't think Nautilus or XDG file manager GUI's work on Windows 10. I got this error message:



$ nautilus ex00/
Unable to init server: Could not connect: Connection refused

(nautilus:17): Gtk-WARNING **: 21:51:09.385: cannot open display:

More From » directory

 Answers
0

By explorer nicholas' answer we could use this:



$ ~/some/dir explorer.exe .


and by alias explorer.exe we can use open just like Linux with GUI:



# ~/.bash_rc or ~/.zshrc
alias open="explorer.exe"


and now you can open subsystem folder with



$ ~/some/dir open .
$ ~/some/dir open /usr/bin

[#5578] Wednesday, May 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
attagjump

Total Points: 272
Total Questions: 127
Total Answers: 124

Location: Taiwan
Member since Fri, Sep 17, 2021
3 Years ago
;