I have a folder with a lot of PNG images that I want to create folders for based on their filenames. I would then want the files to be moved into their respective folders of the same name and renamed to 0000.png.
Example:
- abcd.png
- efghi.png
- jklm.png
- nopqr.png
- stuv.png
- wxyz.png
To:
- abcd/0000.png
- efghi/0000.png
- jklm/0000.png
- nopqr/0000.png
- stuv/0000.png
- wxyz/0000.png
from the command line
if in the batch file
Here is the example