user iconAnonymous on September 18th 2009
14927 views
Locked

topic iconResize

resize and rename command line

Hello,
I have a problem, I want to resize and rename all jpg files in a directory to numberd files. The structure s as follows:
I have a directory called c:\flashdvd\pictures this is filled with jpg files with very long names. Now I wat to resize all the files to h800 and rename all of them to flashdvd-001.jpg flashdvd-002.jpg.... all true command line now I renamed the resizer already to PhotoResizeh800.exe could you please help me

user iconVlasta on September 18th 2009 0

PhotoResizeH800.exe "-cc:\flashdvd\resized\<PATH>flashdvd-<INDEX>.jpg" "c:\flashdvd\pictures"

Except you won't get the leading zeros. It will be flashdvd-1.jpg instead of flashdvd-001.jpg. And it will be place in the "resized" folder.

user iconAnonymous on September 18th 2009 0

Thanks this works like a Dream I can handle the one number istead of 3
HermKe

You cannot reply to this topic.