在win10中打开 Windows PowerShell
批量修改文件前缀名
$Path = "E:\Videos\Python\"
$Filter = "*.py"
ls $Path -i $Filter -r | foreach {ren $_.FullName $_.FullName.Replace('hm_', '')}
批量修改文件后缀名
$Path = "E:\Videos\Python"
$Filter = '*.ev4.mp4'
ls $Path -i $Filter -r | foreach {ren $_.FullName $_.FullName.Replace('.ev4.mp4','.mp4')}