Batch modify file name and extension

Modify file names in batch

step:

  1. Put the file whose name needs to be modified in a folder
  2. Ctrl + A (select all)
  3. F2 (Rename)
  4. Enter the name to be modified directly
  5. Enter

Modify file extensions in batch

This method is also suitable for using excel to modify file names in batches. Column A is the original file name (note that there must be an extension), the second column is the new file name, and the third column is the formula = "Ren "&A1&" "&B1 , And then copy the third column into the text document and change the extension to bat. Same as below.

step:

  1. Put the files that need to modify the extension in a folder
  2. Create a new text document
  3. Enter the content of the following figure in the text file. The figure is an example of converting bmp format to jpg format, which can be changed by yourself.Insert picture description here
  4. Save, change the text file extension txt to bat
  5. Double-click the newly created text document.
  6. ok. That's it.

Guess you like

Origin blog.csdn.net/weixin_40575956/article/details/85257204