从Windows 10中的bash/linux子系统打开资源管理器

Eth*_*her 5 bash ubuntu windows-10

是否有命令在Windows文件浏览器中使用bash(或zsh)在Windows上的ubuntu上使用bash打开当前目录?我想我看到了你可以做的某个地方,explorer .但它告诉我No command 'explorer' found

hea*_*dge 6

自Windows 10周年更新以来,您现在可以直接从Bash/WSL运行Windows可执行文件.尝试通过Windows更新更新Windows,然后在Bash中运行以下命令:

$ explorer.exe .
Run Code Online (Sandbox Code Playgroud)

或者,

$ /mnt/c/Windows/explorer.exe .
Run Code Online (Sandbox Code Playgroud)

(cWindows安装的驱动器在哪里?).这将在当前目录中打开一个新的Explorer窗口.

  • explorer.exe.为我打开C:\ Windows\System32.但它不是当前目录 (9认同)

小智 0

这对我在 Windows 10 上的 GIT bash 很有效。

$ which explorer
/c/Windows/explorer
$ explorer .
Run Code Online (Sandbox Code Playgroud)