Batch modify suffix name and add suffix name

1. Add in batches (take adding txt as an example)

Create a new TXT file and enter: ren *.* *.txt (ren means modification, *.* all files in the current directory, *.txt is the suffix to be modified)

Finally, change the suffix of the txt file to bat and execute the bat file

2. Batch modification (take modification as gif and jpg as an example)

Create a new TXT file and enter: ren *.gif *.jpg (there are spaces after ren and gif)

Finally, change the suffix of the txt file to bat and execute the bat file

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325824120&siteId=291194637