Command Line (or batch file) rename all files in a folder (Windows)
问题 I need to rename all of the files in a folder with the following filename format; itemID-straight-bottle.png TO itemID-bottle.png How can i accomplish this with a cmd script or in the command line? example; REDHI20806-straight-bottle.png TO REDHI20806-bottle.png I should have said, this is in Windows and i want to use either command line or a batch file to run this renaming on all files in a folder on a specific drive 回答1: short answer On Windows , you can use PowerShell, that is installed by