How to batch modify file extensions

As shown in the figure:

I want to change all the file extensions in the folder from .sublime-snippet to .txt

ren *.sublime-snippet *.txt

ren *. (extension to be modified) *. (extension after modification)

 

Save as XX.bat, double-click to run

PS: Only the file extension of the current folder will be replaced, neither the child folder nor the parent folder will be replaced.

 

Effect picture:

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326837195&siteId=291194637