小编Eri*_*nau的帖子

如何使用powershell中的vim编辑UNC路径上的文件?

尝试使用 vim 编辑 UNC 路径上的文件时出现以下错误。我该如何解决?

> new-psdrive x filesystem \\192.168.1.1\c$
> cd x:\
> vim .\test.txt
'\\192.168.1.1\c$'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
Run Code Online (Sandbox Code Playgroud)

windows powershell vim

5
推荐指数
1
解决办法
1632
查看次数

标签 统计

powershell ×1

vim ×1

windows ×1