Codex Windows App Renders Local File Paths Incorrectly, Breaking File and Folder Links
What version of the Codex App are you using (From “About Codex” dialog)?
26.305.950.0
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
On Windows, the Codex app appears to render local file links using a Unix-style path prefix, adding a leading slash before the drive letter, for example /C:/.... That path format is invalid for standard Windows file handling. As a result, when the app tries to open a file or folder from one of these rendered links, Windows returns an error and nothing opens.
In practice, this means the app is generating clickable links that look valid inside the UI but cannot be resolved correctly by Windows because the extra leading slash breaks the path. The result is that files and folders referenced in the app cannot be opened directly from those links.
<img width="691" height="184" alt="Image" src="https://github.com/user-attachments/assets/d2f32596-41b9-478e-ada8-aa02aa5f9847" />
Also. It's either I am blind (which could be the case) or there is no 'About' in Codex app for Windows, I pulled installed version number from Microsoft Store.
What steps can reproduce the bug?
Any prompt that asks to implement anything, in reference summary files will not open.
What is the expected behavior?
_No response_
Additional information
_No response_
15 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I hit what looks like the same Windows app local-link parsing bug on a newer build (
26.306.996.0, Windows10.0.26200.0 x64, ChatGPT Plus), and I have a more detailed repro matrix that may help narrow the parser behavior.Additional observations:
</Users/...>links are treated as real local path objects in the Codex UI on Windows (right-click includesCopy path, clicking opens the correct file).<C:/Users/...>and<C:\\Users\\...>render blue/underlined but behave like styled text only: no path metadata / noCopy path/ clicking does not open the file.<\\Users\\...>gets percent-encoded into%5CUsers%5C....<//Users/...>is interpreted as a host/UNC-style URI, and VS Code prompts that hostUsersis not in the allowlist.<///C:/Users/...>and<///D:/...>open VS Code, but the resolved path is prefixed with the current drive, e.g.C:\\C:\\Users\\...orC:\\D:\\..., so an empty file is opened instead of the real file.F:also become garbled / percent-encoded and do not open correctly.So this seems broader than just
/C:/...rendering: the app appears to recognize only a narrow Unix-style local-path form on Windows, while drive-letter absolute paths, backslash paths, and UNC-like forms are all mis-handled in different ways.I filed #14483 with the full repro matrix and will close it as a duplicate of this issue to keep discussion in one place.
Additional repro data from more controlled tests on the same Windows machine:
Two separate failure modes are now confirmed.
1) Drive-letter absolute paths fail even when the path is pure ASCII
These were tested against real existing files with ASCII-only path segments:
Observed behavior:
A,B,C: render blue / underlined, but are not treated as real path objects by the app.Copy pathin the context menuD: works correctlyCopy pathSo this is not just a non-ASCII problem: drive-letter absolute paths appear unsupported / misparsed by the Windows app even when they are otherwise simple ASCII paths.
2) Any non-ASCII path segment appears to break clickable path targets
I also tested combinations where only one variable changed at a time:
Across
C:,D:, andF:-backed clickable paths, the result was the same:%...) and does not open correctlyThis suggests two distinct app-side parsing problems on Windows:
Current workaround on my side is to expose source files through ASCII-only alias paths, but that is only a workaround.
One short clarification to avoid confusion from earlier wording: the
%...target garbling is not a generic long-path issue. It reproduces when any clickable path segment is non-ASCII (for example Chinese directory names or filenames). Separately, drive-letter absolute paths still fail even when the entire path is ASCII-only.For completeness, here is the current workaround I am using on Windows. This is not a fix, just a way to keep file links usable in day-to-day work:
C:\Users\...path that the app can actually openThis avoids both current failure modes:
The workaround preserves source-file semantics, but it adds extra alias-management overhead and should not be necessary if the app handled Windows local paths correctly.
One more clarification on the workaround: it also has to avoid drive-letter paths in the final chat link target, not just non-ASCII path segments.
What I am doing in practice is:
C:volumes (D:,F:, etc.), create an ASCII-only alias on the same volume, then expose that alias through a chat-clickable path form instead of linkingD:/...orF:/...directlyC:volumes, expose them through an ASCII-only junction path under aC:\Users\...tree that the app can actually openSo the workaround is solving two separate app-side limitations at the same time:
In other words, the final clickable chat target must avoid both drive-letter absolute forms and non-ASCII segments.
Related issues that seem to belong to the same local-file-link / path-normalization bug family:
c:\\C:\\...pathsFrom current repros on my machine, #14079 appears to sit at the intersection of both:
So this does not look like one isolated formatting issue, but rather a broader app-side local-path parsing / normalization problem.
I can reproduce this on a newer Windows Codex app build as well.
Environment:
26.311.2262.0Symptom:
Expected behavior:
This still reproduces for me on
26.311.2262.0, so it does not appear to be fixed in newer Windows builds.I dug into the current Windows app package on my machine (
OpenAI.Codex 26.311.2262.0) and found a bit more signal.This does not look like a generic "blue text only" styling issue.
What the packaged app is doing:
open-fileaction.open-filewithtarget: fileManager.showItemInFolder(...)and thenopenPath(...)if needed.That points more toward path/target resolution failing downstream for some references, rather than the renderer merely making non-links look clickable.
My repro is still the same:
submission-template_The-Greyhound-Whisperer_2026-03-13.csvSo the likely issue seems to be one of:
open-fileresolution is failing silently@phillza This is very helpful and matches what I observed on my side.
On my Windows repros, there seem to be at least two failure surfaces in the same pipeline:
<C:/...>,<D:/...>,<F:/...>)So your findings about a dedicated
open-fileflow plus silent downstream failure fit very well with the behavior I am seeing. This really does look like a Windows local-file-link pipeline bug, not just a styling issue.I can reproduce a closely related Windows path problem in the desktop app.
In my session, assistant responses included absolute local paths such as:
/E:/Test/novel-writing-platform/docs/home-client-preview.pngTwo things happened:
So from the user side this looks broader than just "open file/folder" failing. The
/DriveLetter:/...path format also seems to break local asset rendering and message link affordances in the Windows desktop app.Additional narrower repro on Windows 11, Codex app version 26.313.4956.0:
In the same message, a blue local-file link whose visible label was just
filesuccessfully opened File Explorer.But two adjacent blue links whose visible text started with absolute Windows paths like
C:\...did nothing when clicked.So this does not look like "all local file links are broken" equally. It looks like Codex is parsing/rendering at least two different kinds of blue local-link UI on Windows:
C:\...style refs can still render blue but do not trigger an open actionThat may help narrow it to how absolute Windows drive paths are classified in the markdown/render layer before they reach the normal local
open-filepath.Correction to my previous narrowing:
I can also reproduce a blue workspace-relative file link that resolves correctly on hover but still does nothing on click.
Example pattern: a link like
src/margin combo model.pyshowed the expected resolved file path on hover, but clicking it still did not open anything.So the bug is not just "absolute
C:\...paths are broken while relative paths work".The more accurate behavior is:
That points more to the click/action path than to path resolution alone.
One more useful distinction from testing:
The blue items that do not work also show nothing on hover.
So there seems to be a split between:
That suggests at least some of the failures are happening before the normal file-open control is even attached, not just during the final open step.
I can still reproduce this in the Windows Codex desktop app on a newer build.
Environment:
26.313.5234.0Microsoft Windows [Version 10.0.26100.8037]In a real Codex Desktop workflow, assistant replies included absolute local file links to generated artifacts, for example:
Observed behavior:
Useful narrowing signal:
http://127.0.0.1:65166/deck.spec.json-> 200http://127.0.0.1:65166/qa_report.json-> 200http://127.0.0.1:65166/index.html-> 200So this still looks like a Windows app local-file-link classification / open-path bug, not a file generation problem.
Expected behavior: