Article directory
Batch modify filename of specific folder
selected folder
Select and enter the folder whose file name needs to be changed.
New get.txt
Enter the following:
dir *.jpg* /b>rename.xls
Since what needs to be modified is the .jpg
suffix file, you can modify it *.jpg*
at will according to the suffix of the file you want to modify. For example, it can be modified to *.txt*
etc.
modify suffix
Modify get.txt to get.bat, and double-click to run.
After double-clicking to run, the .xls
file .
Action .xls
form
- open
.xls
form
- Fill in column B with the file name that needs to be modified , and fill in column C with ren
- Type in cell D1
=C1&" "&A1&" "&B1
and press Enter.
- Then drop down to get the following table.
- Copy the contents of column D.
New rename.txt
Paste the copied content into rename.txt.
Modify the suffix
Modify rename.txt to rename.bat , and then double-click to run.
Successfully modified! ! !
Note: If the file name has Chinese, there will be no change in this operation.