0

我在 Windows 上使用 eclipse 连接到 wsl 上的文件,并且我遇到了一个显然是 eclipse 错误的文件名,如 \wsl$\folder1\pom.xml 被破坏。 https://bugs.eclipse.org/bugs/show_bug.cgi?id=577938

错误报告中的评论建议了一种可能的解决方法

A workaround is to map the UNC path to a drive letter, but this shouldn't be necessary

我该怎么做?

4

1 回答 1

0

我是这样做的(驱动器 j:可用)

net use j: \\wsl$\Ubuntu

请注意,这是持久的,如果不删除可能会导致 wsl2 自行重新启动。完成此操作后,我能够从 windows emacs 访问 Ubuntu 发行版上的文件。

删除它:

net use /del j:
于 2022-02-05T23:04:13.667 回答