批量替换文件名中的某个字符串的小脚本时间:2021-02-22 20:36:34有需求, 就自己写一个玩玩. Get-ChildItem -Path F:\MyFolder -Filter *.m4a | ForEach-Object { $newname = $_.Name -replace "something","somethingelse" Rename-Item -Path $_.FullName -NewName $newname } 挺好用的.