Bad file links when workspace is a network location

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Clicking a file in the agent’s N Files list fails when the workspace is a Windows network location. The diff cards in the same message open the file correctly.

The folder is opened as a UNC path, \server\share\project. A diff card for a file uses the full network path and opens it. The N Files list under the message only has the short name. Clicking it drops the server name and opens \share\project.… The editor then shows: “Unable to open ‘File.php’. The editor could not be opened because the file was not found.” The breadcrumb starts at the share name. The file is on the network share

Steps to Reproduce

Open a project from a Windows network folder using its UNC path (\server\share\project), not a mapped drive letter.
Ask the agent to change a file in that project.
When it finishes, open the file list in the preview panel at the bottom of the agent message.
Click a changed file.
The editor reports that the file was not found. The link drops the server name, so it points at \share\project... instead of \server\share\project.… The diff cards above that list still use the full network path and open the file.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.26.16 (user setup)
VS Code Extension API: 1.128.0
Commit: 8fcb8ace5c73fa31f2e2707fd6783160e4ed3e40
Date: 2026-10-21T09:02:57.211Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Ivaylo_Mladenov,

Thanks for the clear report and screenshot. When a file in that list still has pending changes, clicking it jumps to the first change, and that step rebuilds the file location without the server part of the network path. That’s why it opens \share\... and can’t find the file. The edit cards above the list keep the full \\server\share\... path, which is why they open fine. I’ve flagged this to the team.

In the meantime, a couple of options:

  1. Click the file name on the edit card in the message instead of the row in the file list.
  2. Map the share to a drive letter (in File Explorer, right-click This PC → Map network drive, pick a letter such as Z: and point it at your share), then open the project from that drive with File → Open Folder. Paths on a mapped drive letter shouldn’t go through this step, so the file list links should open normally.

If the mapped drive doesn’t help, let me know.