I am trying to set my default terminal for my WSL prompt in windows terminal to start at a specific folder under the C drive.
i am able to set the default to /mnt
but it wont let me go /mnt/c/<myfolder>
whenever i do this is sets it back to /mnt/c/Users/<myuser>
In settings.json
if you are using the commandline
property replace that line with:
"source": "Windows.Terminal.Wsl"
Then set the value of your startingDirectory to where ever you like in the C drive using the drive letter and forward slashes in the path, so it will look something like this:
"startingDirectory" : "C:/Windows/Fonts",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With