Skip to content

Instantly share code, notes, and snippets.

@Av0c
Last active March 20, 2022 01:08
Show Gist options
  • Select an option

  • Save Av0c/8472f4460e1f63ee26f90c9c60b01bf3 to your computer and use it in GitHub Desktop.

Select an option

Save Av0c/8472f4460e1f63ee26f90c9c60b01bf3 to your computer and use it in GitHub Desktop.
Batch script to initialize VSCode & Window Terminals on two directories
:: Start 2 Windows Terminal tabs in the respective folders
wt new-tab -d C:\path\to\folder\one --title Folder1 ; new-tab -d C:\path\to\folder\two --title Folder2
:: Start 2 VSCode windows in the 2 folders
cd C:\path\to\folder\one
call code .
cd C:\path\to\folder\two
code .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment