can somebody help me with code.... i have main folder named as "book" inside it 500 sub folders as following
book/page1/Image/image 2.jpg
book/page2/Image/image 2.jpg
book/page3/Image/image 2.jpg
book/page4/Image/image 2.jpg
book/page5/Image/image 2.jpg
.
.
.
i want the images to be renamed as:
book/page1/Image/1.jpg
book/page2/Image/2.jpg
book/page3/Image/3.jpg
book/page4/Image/4.jpg
book/page5/Image/5.jpg
.
.
.
help please
The Batch file below renames the files to the folder names, removing the
page
part:The Batch file below renames the files to a sequential two-digits number, disregarding the folder names:
If you want the numbers have just one digit, change the number assignment by this one:
set number=10
.