ls .\Desktop\ | %{$tmp= $_.Name>>> if ($tmp -match '.*whl$')>>> { $b = 'D:\desktop\zip\'+$tmp.ToString() #目标文件>>> mv -Path $_.FullName -Destination $b}>>> }