Right-click the VS Code shortcut, click Properties, open the "Compatibility" tab, and check "Run this program as an administrator"
After the modification is completed, restart VS Code and you can enter commands in the terminal window normally.
Recommended related tutorials: vscode tutorial
The above is the detailed content of What should I do if I cannot enter commands in the vscode terminal window?. For more information, please follow other related articles on the PHP Chinese website!