“code .” command is not working

后端 未结 6 2139
难免孤独
难免孤独 2021-01-05 05:06

I get this error:

code . is not recognised as an external or internal command, operable program or batch file

6条回答
  •  被撕碎了的回忆
    2021-01-05 05:36

    make sure you run the command in C folder

    Then click window key + R and type rundll32.exe sysdm.cpl,EditEnvironmentVariables then enter . It will open Environment Variables edit Path variable . Check whether you have C:\Users\{pc name}\AppData\Local\Programs\Microsoft VS Code\bin if not add it and run code -v in C folder cmd

    This worked for me !

提交回复
热议问题