How to rename MULTIPLE files with Powershell

Ask_A_NerdTV
Ask_A_NerdTV
12.4 هزار بار بازدید - 6 ساعت پیش - Here's how to change the
Here's how to change the name of multiple files in a folder using a Powershell script, and remove the ( ) around the numbers if you're wanting it to look pretty. This could be really useful if you're needing to rename a bunch of .jpg's for a website or something. --------------------------------------------------------------------------------------------------------------------------- How to change the name of the files: Dir | Rename-Item -NewName {$_.name -replace "OLD-FILE-NAME-PART","NEW-FILE-NAME-PART"} How to remove the parenthesis: Dir | Rename-Item –NewName { $_.name -replace '[()]','' } --------------------------------------------------------------------------------------------------------------------------- Thanks to Miko Riko for the graphs and channel art! Check out his YouTube and Twitch!    / @mikoriko   www.twitch.tv/miko_riko --------------------------------------------------------------------------------------------------------------------------- Check out my Twitch! twitch.tv/zombiefaace Follow me on Twitter for updates! twitter.com/zombiefaaace
6 ساعت پیش در تاریخ 1403/07/11 منتشر شده است.
12,490 بـار بازدید شده
... بیشتر