1. Batch modification of file names
After downloading many pictures from the browser, etc., the naming order is messed up. If you want to rename the pictures, start from the number 1
First, select all the pictures in the folder a>
Right click, click Mingming, select a picture to rename, enter a space and click Enter
as shown in the figure below
All pictures are arranged according to numbers. At this time, there are brackets outside the number names. If you need to remove the brackets, follow the steps below
2. Remove the brackets
First create a new text document in the picture folder
Enter in the document:
@Echo Off&SetLocal ENABLEDELAYEDEXPANSION
FOR %%a in (*) do (
set “name=%%a”
set “name=!name:(=!”
set “name=!name:)=!”
ren “%%a” “!name!”
)
exit
Then rename the txt document you just entered the command to with the .bat suffix and click Save
After saving, double-click the file with the .bat suffix you just modified and the picture in the folder The brackets in the name have been removed