{"version":"2.1.332","anchor":"bash-on-windows-cwd-tracking-tweak-and-setupfillswindowslin","canonical_anchor":"bash-on-windows-cwd-tracking-tweak-and-setupfillswindowslin","heading":"Windows shell commands track the working folder differently","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/bash-on-windows-cwd-tracking-tweak-and-setupfillswindowslin","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Windows shell commands track the working folder differently\n\nOn Windows, outside the sandbox, Claude Code now records the working folder after some commands using `pwd -PW`\n\n**What**\n\nAfter each shell command, Claude Code notes which folder the command ended up in, so the next command starts from the same place. On Windows, when the command is not running in the sandbox (a restricted environment that limits what commands can touch), Claude Code now records that folder with `pwd -PW` for some paths.\n\nClaude Code also reports two more details about each command, where before it reported only whether the command was too long for Windows.\n\n**Why**\n\nThis affects how Claude Code keeps track of the current folder in Windows shells.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}