openai / openai/codex

[Windows] “Open in folder” falls back to C:\ for mapped-drive/UNC project files

Open
#38,668 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug windows-os
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

Summary

In the Windows Codex desktop app, Open in folder fails for a file in a project saved using a mapped network drive. The file preview works, but File Explorer opens at C:\ instead of the containing folder.

Environment
  • Codex Windows app package: 26.810.4967.0
  • Windows-native agent
  • Local non-Git project
  • Project saved as X:\workspace, where X: maps to a UNC network share
Steps to reproduce
  1. Open a local project saved through a mapped network drive.
  2. Open a generated or edited file in Codex’s file preview.
  3. Choose Open → Open in folder.
Actual behavior

File Explorer opens at C:\ and does not navigate to or select the file.

Expected behavior

File Explorer opens the file’s containing folder and selects the file.

Diagnostics
  • The saved project path remains the mapped-drive path.
  • Both the mapped-drive and UNC forms exist and are accessible.
  • Running Explorer directly with the mapped-drive file path works.
  • The preview displays the file successfully.
  • Based on these observations, Codex may be normalizing the preview path to UNC before invoking Explorer; this is an inference rather than a confirmed root cause.
Privacy note

The affected project contains confidential enterprise data, so no session transcript, screenshot, identifying file path, or logs are attached. A sanitized reproduction can be provided if requested.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Windows desktop app's file preview flow and the Open → Open in folder entry point, then reproduce with a mapped-drive path and its UNC form. Trace the path passed to File Explorer; done means Explorer opens the containing folder and selects the file instead of falling back to C:.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.