Easy Renamer is a batch file to remove a common part from files in a folder. This script can be used in Compress PNG, JPG services to remove -min part from file names.
- Download the renamer.bat file.
- Open it with text editor (Notepad).
- Enter the common text in line 3 and 5. Replace the COMMON_TEXT with your phrase.
- Save the file and copy to the directory which has the files to rename.
- Double click and run it.
Remove -min of all png files in the folder.
Code will be looks like this.
@echo off setlocal enableDelayedExpansion for %%F in (*-min*) do ( set "name=%%F" ren "!name!" "!name:-min=!" )
This is very useful if you use multiple file processing in Compress PNG, Compress JPG services.