Visual studio code cmd error: Cannot be loaded because running scripts is disabled on this system

后端 未结 11 1511
北荒
北荒 2020-12-02 07:52

Inside of visual studio code, I\'m trying to execute a script.bat from the command line, but I\'m getting the following error:

File C:\\Theses_Repo\\t

11条回答
  •  我在风中等你
    2020-12-02 08:25

    For security reasons, in case you share the computer with other users, use: PowerShell:

    Set-ExecutionPolicy -Scope CurrentUser Unrestricted

    No need for Admin privileges.

提交回复
热议问题