起初只想在 win7上实现 pause 效果而已
cmd /c pause | out-null
结果只能看到红字一闪而过
这次清楚的看到红字提示 "cannot be loaded because running scripts is disabled on this system"
管理员权限运行PowerShell
PowerShell
Set-ExecutionPolicy RemoteSigned