[BUG] Windows path parsing error - extra "c" character inserted in drive path

Resolved 💬 6 comments Opened Aug 26, 2025 by Walt7 Closed Jan 9, 2026

Bug Report

Environment:

  • OS: Windows (win32) win 10
  • Claude Code version: Latest 1.0.92 (Claude Code)
  • Working directory: C:\Users\admin\Documents\Obsidian-xx
  • Repository: Git repository (confirmed via Is directory a git repo: Yes)

Issue:
Claude Code is incorrectly parsing Windows drive paths by inserting an extra "c" character, resulting in malformed paths that cannot be found.

Expected behavior:
Claude should correctly reference the path:
C:\Users\admin\Documents\Obsidian-xx\02-STRUMENTAZIONE\Kit-e-Accessori

Actual behavior:
Claude reports the path as:
C:\c\Users\admin\Documents\Obsidian-xx\02-STRUMENTAZIONE\Kit-e-Accessori

Error message:
Path C:\c\Users\admin\Documents\Obsidian-xx\02-STRUMENTAZIONE\Kit-e-Accessori was not found.

Steps to reproduce:

  1. Initialize Claude Code in a Windows directory with subdirectories
  2. Navigate or reference paths within the repository
  3. Observe the malformed path with extra "c" character

Verification:
The correct path exists and is accessible - confirmed via LS tool:

  • ✅ C:\Users\admin\Documents\Obsidian-xx\02-STRUMENTAZIONE\Kit-e-Accessori (exists)
  • ❌ C:\c\Users\admin\Documents\Obsidian-xx\02-STRUMENTAZIONE\Kit-e-Accessori (malformed)

Impact:
This prevents Claude from correctly accessing existing directories and files, causing "path not found" errors for valid Windows paths.

Additional context:
This appears to be a path parsing issue specific to Windows drive letters where the drive letter "C" is being duplicated in the path construction.

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗