Page 1 of 1

Convert multipage tiff recursive.

Posted: Wed Nov 17, 2010 9:48 am
by Mlearning
Good Morning.
I know that this topic was spoken and I check the information but I cannot finnish my script.
I have a massive scanner and I scanning a lot of simple tiff page documents. They are saving in a folder. The structure is:
FOLDER\101110\001
FOLDER\101110\002
...
FOLDER\DATETODAY\001
FOLDER\DATETODAY\00N

How you can check I have a lot of tiff in each folder number (001,002...)
I want to create a multi page tiff old each folder where are tiff files.
I've create a script
FOR /r /d %%a IN (*) DO nconvert.exe -multi -out tiff -o %%a %%a\*.tif

But this script creates white documents in ech datefolder with 1kbsize because are not tiff in the folder and I don't know what I should write in the script to only create tiffmultipage where it find tiff.
In addition I would like that the script creates the multipage tiff in other folder

Could you please give some help?

Thanks in advance.

Re: Convert multipage tiff recursive.

Posted: Thu Jun 09, 2011 2:26 pm
by DryLand404
Try
FOR /r /d %%a IN (*.tif) DO nconvert.exe -multi -out tiff -o %%a %%a\*.tif