Create a new txt folder and write in the folder:
The following is the conversion of png to jpg
ren *.png *.jpg
After that, change the suffix of the folder txt to .bat, and remember to put the changed .bat file and the pictures to be converted in the same directory. As shown below.
Just run the .bat file directly.
on the contrary,
ren *.jpg *.png
It means to convert jpg to png, and the other steps are the same as above. Thanks