[BUG] File path displayed in wrong format inside /context command

Resolved 💬 2 comments Opened Jan 15, 2026 by AlexNewStart Closed Jan 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

/context , then displaying some information, one of them is like below:

Memory files · /memory
└ C:\Users\baoloclaude\CLAUDE.md: 649 tokens
└ CLAUDE.md: 10.0k tokens
the second line , path of CLAUDE.md is incorrect. it's actually in the path of "C:\Users\baolo\\.claude\CLAUDE.md"

So, it lost "\\." during the string of path.

What Should Happen?

Memory files · /memory
└ C:\Users\baolo\.claude\CLAUDE.md: 649 tokens
└ CLAUDE.md: 10.0k tokens

Error Messages/Logs

Steps to Reproduce

  1. /context
  2. then see the Memory Files section.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.7

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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