Skip to content

Command "code" not found #6356

Answered by therealkenc
Mystic8b asked this question in General
Discussion options

You must be logged in to vote

❯ cmd.exe /c "echo %PATH%"
[...]
C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\Git\cmd;C:\Users\Mannet\AppData\Local\Microsoft\WindowsApps

Thanks for the follow up and screeshots. That it starts given the full path is good news.

Your code application is not in your Windows %PATH%. Normally that gets set up when you install Code in Windows via the installer. In your case it either didn't get set up, or got clobbered along the way. …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Mystic8b
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6356 on December 28, 2020 16:31.