Bug: Incorrect project config path created for UNC paths on Windows
Resolved 💬 3 comments Opened Feb 2, 2026 by dmdukr Closed Feb 6, 2026
Environment:
- OS: Windows
- Claude Code version: 2.1.27
- Working directory: \\192.168.70.7\config\
Problem:
When running Claude Code from a UNC path, it incorrectly creates the project .claude folder at:
\\192.168.70.7\config\192.168.70.7\config\.claude
Instead of:
\\192.168.70.7\config\.claude
This causes Claude Code to re-run project initialization on every startup because it cannot find the config folder it created.
Expected behavior:
Project .claude folder should be created directly in the working directory root.
Workaround:
Using mapped network drive (e.g., net use Z: \\192.168.70.7\config) works correctly.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗