hello I want to convert pdf to jpg in a batch and I'm using the:http://www.imagemagick.org/
They way to use is simply:
convert file.pdf file.jpg
Now I want to do a batch in command prompt. I have a directory called c:\data
inside that directory there are a lot of sub directories each directory by the same way inside has different pdf files with different names then I want that the batch look for all sub directories inside c:\data
and then look inside each sub directory for the pdf files if found convert that pdf file inside the same directory where was found and exist the pdf found and with the same name than the original pdf and on that way with all sub directories and all pdf files. Of course some of that sub directories contain a lot of pdf files another sub directories have just one pdf or two and some has other kind of formats like flv, doc or whatever and that other formats different than pdf must not be touched must be converted the pdf files only. I tried to do this batch but doesn't work:
For /R C:\data %%I IN DO (.) convert "\%%I\*.pdf" "\%%I\*.jpg"
Could anyone can help me in modify the script to make work and put the code?
Thank you so much