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