How to remove a prefix from multiple files?

后端 未结 4 1605
再見小時候
再見小時候 2021-01-16 17:25

I downloaded a lot of videos that are named like [site.com] filename.mp4 and I wanted to remove the prefix so that they are named like filename.mp4

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-16 18:24

    Just for completeness, a cmd.exe alternative:

    For %A In ("*] *.*") Do @(Set "_=%A"&Call Ren "%A" "%_:*] =%")
    

提交回复
热议问题