💻 Software
How to edit file on UNC path with vim from powershell?
Fresh7 days ago
Mar 15, 20261805 viewsConfidence Score0%
0%
Problem
I got the following error trying to edit a file on a UNC path using vim. How do I resolve this?
Error Output
> 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 direc…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to edit file on UNC path with vim from powershell?
Low Risk
If you launch vim with vim.bat, it launches cmd.exe and runs vim.exe from there. cmd.exe doesn't like UNC paths unless you disable the check like others have suggested. Powershell doesn't require you to disable this. What you want to do is either al…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix