combine multiple tiff images to single tiff image from the DIR with imagemagic in CMD

Hi,
Iam looking for a solution using imagemagic to combine multiple tiff files to to single tiff file in the DIR, which has sub folders.

Let me explain

There are multiple sub folders which contains tiff images, lets take in a particular folder there could be 2 or more images which needs to be combined as one image.
I tried the basic concept and it works

convert 0003_404.tif 0030.tif 1_merged.tif   ( Here i have changed the dir and run the comand which combines two tiff images to a single tiff

i was also trying to use the below , not sure how far good.

for %f in (%cd% D:\subfolders\) do (convert 0007.tif 0011_623.tif +append 1_merged.tif)
CPHAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CPHAuthor Commented:
I wish some one could assist on the question.

Thanks!
CPHAuthor Commented:
Hi,
I was able to combine all the folders from DIR with, However lets say in a folder there are 1000 images
1.tiff
2.tiff
3.tiff
4.tiff
5.tiff
We are manually defining which images to be combined by renaming the first image like 1.001.tif
1.001.tiff
2.tiff
3.tiff
4.001.tiff
5.tiff
In the above example images from 1.001.tiff, 2.tiff, 3.tiff will be combined as single multipage image.
4.001.tiff and 5.tiff will be another multipage image.... and so on
Option required
1. The images needs to be combined as single image with the output in another folder.
2.The images needs to be combined as single image with output in another folder with option to define a name (Rename) for the output image.

Awaiting for a solution
Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.