Right-click on the VSCode icon, open Properties, click Compatibility, check Run this program as administrator, apply, OK, and reopen VSCode, as follows:
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of vscode terminal cannot run commands. For more information, please follow other related articles on the PHP Chinese website!