::PowerShell执行当前目录下的脚本(无需启用允许脚本运行权限)
powershell.exe -executionpolicy bypass -noprofile -noninteractive -file "%~dp0\Xcopy.ps1"

 

PowerShell执行当前目录下的脚本

相关文章: