Page 1 of 1

-multi in code prevents creation of output folder

Posted: Wed Nov 11, 2015 7:20 pm
by cday
When -multi is included in code an output folder that doesn't already exist isn't created when the script is run:

This code runs and creates the 'output' folder if it doesn't exist:

Code: Select all

nconvert -out pdf -o output\test.pdf test_1.jpg test_2.jpg
This code fails with the message "Can't create file" if the 'output' folder doesn't already exist:

Code: Select all

nconvert -multi -out pdf -o output\test.pdf test_1.jpg test_2.jpg
Note that the above tests have been run as described in this post but that kewbsl has tested using full paths.