I'm trying to open Visual Studio Code from Powershell using the code
command while inside a folder. When I try to do this, I always get this error:
Blockquote code : The term 'code' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + code . + ~~~~ + CategoryInfo : ObjectNotFound: (code:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
code
is not recognized. The command needs to be in a directory in yourPath
environment variable. – Bill_Stewart