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

后端 未结 11 1492
北荒
北荒 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:37

    Face the same issue and this works for me. open PowerShell as Administrator and paste this.

        Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser  
    

提交回复
热议问题