Batch modify the file name in Windows 7 system

  
 

To implement batch modification of the file name, the file to be modified is placed on a folder, and then the folder is copied to the directory of the C drive. For example, save the file name as “picture”.

Operation Steps

Then click “Run” in the Start menu, enter the “CMD” command on the running input box, and press Enter to enter the Command Prompt window.


Then type "“cd c:picture”" in turn, and press Enter. Enter "ld /dir /b>rename.xls".


So we go back to the picture folder, open the folder and create a rename.xls file inside it, open it to enter the excel interface.


The following list represents the original file name, and then the modified file name is entered below the b list. The small series here is free to input, and it is sorted by number. . Then enter the formula ="ren "&A1&" "&B under the C list.


Now, after entering all the C lists, you can copy all the c lists, and then create a new notebook in the picture folder, which will copy the information under the C list. Paste on the notepad.


Finally, click on the notepad in the menu bar and save the file name as “ren.bat”


Now you can run the ren.bat file in the picture folder to modify the folder in batches.



Copyright © Windows knowledge All Rights Reserved