Page 2 of 2

Re: Conversion tif, dwg dgn to pdf

Posted: Fri Oct 23, 2015 1:22 pm
by cday
XnTriq wrote:
AutoCadConverter wrote:Where do I place this parameter so that all my output goes to another folder?

Code: Select all

nconvert -c 1 -out pdf C:\Source\*.tif -o C:\Destination\%.pdf
Is that correct, cday?
I'm not the NConvert expert, and as I've written elsewhere never even expected to use the command line myself, I only reply to posts because generally no-one else does... :wink:

But as far as I know input files are normally placed last in the code, so if the above code doesn't run correctly it would at least be a start to try this minor modification:

Code: Select all

nconvert -c 1 -out pdf -o C:\Destination\%.pdf C:\Source\*.tif
If running from a Windows batch file the % would need to be doubled to %% .

Otherwise please report back, including any clarification of the exact requirement...

Re: Conversion tif, dwg dgn to pdf

Posted: Sat Oct 24, 2015 8:30 am
by XnTriq
cday wrote:But as far as I know input files are normally placed last in the code, so if the above code doesn't run correctly it would at least be a start to try this minor modification:

Code: Select all

nconvert -c 1 -out pdf -o C:\Destination\%.pdf C:\Source\*.tif
Confirmed!
  • OK: nconvert.exe -c 1 -out pdf -o X:\Destination\%.pdf X:\Source\*.dwg
    KO: nconvert.exe -c 1 -out pdf -o X:\Source\*.dwg X:\Destination\%.pdf
Thanks, cday :-)