Documentation advice results in error #5902

Open
opened 2026-01-31 00:24:54 +00:00 by claunia · 0 comments
Owner

Originally created by @Stanzilla on GitHub (Jan 14, 2020).

In https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md#setting-the-startingdirectory-of-wsl-profiles-to- it is suggested to use $WSL paths but if you do, you'll get the following error:

'\\wsl$\Ubuntu\home\stan'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
Originally created by @Stanzilla on GitHub (Jan 14, 2020). <!-- Briefly describe which document needs to be corrected and why. --> In https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md#setting-the-startingdirectory-of-wsl-profiles-to- it is suggested to use $WSL paths but if you do, you'll get the following error: ``` '\\wsl$\Ubuntu\home\stan' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5902