nconvert and unc-paths?

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
dervonnebenan
Posts: 4
Joined: Wed Jan 13, 2010 11:26 am

nconvert and unc-paths?

Post by dervonnebenan »

hi,

the following comandline produced an error. can you help me?

comandline: nconvert -out jpeg -ratio - rtype - lanczos -rflag orient -resize 107 0 -o "\\Daten\Fotos\ohne stempel\thumbnail_images\temp\%%.jpg" "\\Daten\Fotos\ohne stempel\temp\*.jpg"

errormessage: Error: Can't open file <\\Daten\Fotos\ohne stempel\temp\*.jpg>

thanks
chris
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: nconvert and unc-paths?

Post by xnview »

use \\Daten\Fotos\ohne stempel\temp\*.jpg without "
Pierre.
dervonnebenan
Posts: 4
Joined: Wed Jan 13, 2010 11:26 am

Re: nconvert and unc-paths?

Post by dervonnebenan »

xnview wrote:use \\Daten\Fotos\ohne stempel\temp\*.jpg without "
but the path contains spaces an without " the script produced some error to, because the path ends at ...\ohne
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: nconvert and unc-paths?

Post by xnview »

* will not be used in ""
And "\\Daten\Fotos\ohne stempel\temp\"*.jpg
Pierre.
dervonnebenan
Posts: 4
Joined: Wed Jan 13, 2010 11:26 am

Re: nconvert and unc-paths?

Post by dervonnebenan »

xnview wrote:* will not be used in ""
And "\\Daten\Fotos\ohne stempel\temp\"*.jpg
sorry, but this creates the following error:

Error: Can't open file <\\Daten\Fotos\ohne stempel\temp\"*.jpg>
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: nconvert and unc-paths?

Post by xnview »

And
"\\Daten\Fotos\ohne stempel"\temp\*.jpg?
Pierre.
dervonnebenan
Posts: 4
Joined: Wed Jan 13, 2010 11:26 am

Re: nconvert and unc-paths?

Post by dervonnebenan »

xnview wrote:And
"\\Daten\Fotos\ohne stempel"\temp\*.jpg?
Even so, it does not work ...
Thanks anyway for your input Pierre.

Here is my practical knowledge: NCONVERT working at this point with no path at all, but only for files with a wildcard.
I must therefore go into the directory containing the images and start NCONVERT only with *.jpg. Then it works.

Thank you Pierre for your help.
Post Reply