桌面有点乱,用powershell整理

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

posted @ 2020-02-10 09:17  先完成一个小目标  阅读(227)  评论(0编辑  收藏  举报