# Chat responses in WSL with code blocks reference incorrect path to file

**URL:** <https://forum.cursor.com/t/chat-responses-in-wsl-with-code-blocks-reference-incorrect-path-to-file/16661>\
**Category:** Help\
**Created:** [September 14, 2024, 2:28am UTC](https://forum.cursor.com/t/chat-responses-in-wsl-with-code-blocks-reference-incorrect-path-to-file/16661 "2024-09-14T02:28:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![salsr](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@salsr](https://forum.cursor.com/u/salsr)\
**Post date:** [September 14, 2024, 2:28am UTC](https://forum.cursor.com/t/chat-responses-in-wsl-with-code-blocks-reference-incorrect-path-to-file/16661/1 "2024-09-14T02:28:58Z")

</div>

Windows 11 using Cursor with WSL Ubuntu.

If I attach a file to chat context (eg, index.html) and the response contains a textual answer with a clickable link to index.html as well as a codeblock (that is clickable) suggestion for index.html:

- the clickable link within the textual answer is correct, eg takes me to: /app/src/index.html

- but clicking on the codeblock suggestion within the same chat reply opens up \home\<username\>\<project\>\app\src\index.html, that because it doesn’t exist, prompts me to create a file.

is this a cursor thing, a wsl thing or have I configured something incorrectly?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:16am UTC](https://forum.cursor.com/t/chat-responses-in-wsl-with-code-blocks-reference-incorrect-path-to-file/16661/2 "2026-06-18T10:16:09Z")

</div>

Closed on June 18, 2026, 10:16am UTC


