How can I combine two windows cmd as single cmd.
My objective : At present I have to create the folder in destination and than run the convert cmd separately.
Solution required : I want to merge both the cmd as single cmd which takes care of below requirement.
Note : Both the sequence are available in notepad, which is copied to cmd prompt.
# Create folder in destination if not available
IF NOT EXIST "F:\Input\Folder\001" md "F:\Output\Folder\001
IF NOT EXIST "F:\Input\Folder\002" md "F:\Output\Folder\002
# converts the image format from source to destination
Convert input.tiff output.jpg (imagemagick)
Convert input_1.tiff output_1.jpg (imagemagick)