$filelist=Get-ChildItem$Directory-r-fi*.pdf#获取pdf文件列表 foreach($filein$filelist){ Copy-Item-Path$file.FullPath-Destination$dd-Force#拷贝文件到目标文件夹 如何在PowerShell中连续执行命令 方法一:首先按Win+R键,然后输入powershell,打开命令行,然后切换到powershell脚本所在的目录下,例如:脚本1.ps1在...