How do you remove the PowerShell requirement that scripts and executables be preceded by “.\”?

后端 未结 4 1496
余生分开走
余生分开走 2021-02-05 06:02

How do you remove the PowerShell requirement that scripts and executables be preceded by \".\\\"?

The PowerShell warning message that is shown when \"a.exe\" is entered

4条回答
  •  旧巷少年郎
    2021-02-05 06:34

    add in your path (evironment variable) the path where you usually put your script and exe file.

提交回复
热议问题