Remove a particular string from file name of multiple file name using cmd

 get-childitem *.png | foreach { rename-item $_ $_.Name.Replace("-min (Phone)", "") }


here .png is the file extension

-min (Phone) - is replaced with blank

Post a Comment

0 Comments