I use a batch file like in Sean's solution. You can automatically close the terminal after launch if you use the start command rather than "code ."
Here's an example:
@echo off cd "C:\path\to\your\project\folder\" start "" "C:\Program Files\Microsoft VS Code\Code.exe" . exit Note: if you don's like how the batch file looks, you can make a shortcut to the batch file and change the shortcut's icon to the VS Code icon.
Hope this helps!