Change location that VS Code terminal is using

Multi tool use
Multi tool use


Change location that VS Code terminal is using



for some reason my VS Code terminal is based in some random folder, and I have to use an extension to refer to my folder every time I use it. Any settings I can change to make the terminal refer to a different folder?




1 Answer
1



If you open a folder, the terminal should open at the root of that folder. So there might be a misconfiguration somewhere.



But if you want to specify a folder:


// An explicit start path where the terminal will be launched, this is used as the
// current working directory (cwd) for the shell process. This may be particularly
// useful in workspace settings if the root directory is not a convenient cwd.
"terminal.integrated.cwd": "",





Thanks for the reply, I tried this, but once I change it I cannot use the terminal, is this the correct usage? - "terminal.integrated.cwd": "D:_Botprogram",
– Sassafras
Jul 2 at 8:01





You'll need to double backslash: "D:_Bot\program"
– Chris R
Jul 2 at 8:11






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

slCZjijXpwQfkuGBRgPA94O4wtmUnZFH00d VH082KqPnYQYjP,IAIau,1kAthtcx,NgK SyB1,1bTUujzcUa hRPx0hYUl 3Zp
EMXJfuVgP0fAB

Popular posts from this blog

Boo (programming language)

Rothschild family