Use ${/} variable to get the proper slash. An it also depends on your shell configures in VSCode. IE: you could use git-bash in windows.