Page 1 of 1

Batch convertion with nconvert

Posted: Wed Feb 20, 2008 9:22 am
by Volker
Hi all,
I have the following issue. I have created a batch file which allows me in a very simple way to convert any format into the jpeg format.
Does a command line parameter exist which allows me to write the result of the convertion into a txt file? :shock:

I have not found anything.

Thanks for you help!

Volker

Re: Batch convertion with nconvert

Posted: Wed Feb 20, 2008 9:43 am
by xnview
Volker wrote:Hi all,
I have the following issue. I have created a batch file which allows me in a very simple way to convert any format into the jpeg format.
Does a command line parameter exist which allows me to write the result of the convertion into a txt file? :shock:
You can use > redirect

redirect hint

Posted: Wed Feb 20, 2008 1:02 pm
by Volker
Hi Pierre,

thanks for your help. But this creates only a txt file with your copyright information.

Regards, Volker

Re: redirect hint

Posted: Wed Feb 20, 2008 2:26 pm
by xnview
Volker wrote:Hi Pierre,

thanks for your help. But this creates only a txt file with your copyright information.
And 1>

I have got the same result

Posted: Thu Feb 21, 2008 7:46 am
by Volker
Hi Pierre,

I have tried the following:

nconvert -log -out jpeg -truecolors c:\photos\photos\*.gif >c:\photos\test.txt

And I have got the following result in the test.txt:

** NCONVERT v4.86 (c) 1991-2007 Pierre-E Gougelet (Jan 29 2008/13:24:04) **
Version for Windows NT/9x/2000/Xp/Vista (All rights reserved)
** This is a freeware software (for non commercial use)

Thanks, Volker

Re: I have got the same result

Posted: Thu Feb 21, 2008 9:15 am
by xnview
Volker wrote:Hi Pierre,

I have tried the following:

nconvert -log -out jpeg -truecolors c:\photos\photos\*.gif >c:\photos\test.txt

And I have got the following result in the test.txt:

** NCONVERT v4.86 (c) 1991-2007 Pierre-E Gougelet (Jan 29 2008/13:24:04) **
Version for Windows NT/9x/2000/Xp/Vista (All rights reserved)
** This is a freeware software (for non commercial use)

Thanks, Volker
Try nconvert -log -out jpeg -truecolors c:\photos\photos\*.gif 1>c:\photos\test.txt

I have got the same result as before

Posted: Thu Feb 21, 2008 9:49 am
by Volker
any ideas?

regards, Volker

Re: I have got the same result as before

Posted: Thu Feb 21, 2008 10:53 am
by xnview
Volker wrote:any ideas?
Do you have tried my solution?

log file

Posted: Thu Feb 21, 2008 11:07 am
by Volker
Hi Pierre

yes I have tried it with the same result:

content of my .bat file:
nconvert -log -out jpeg -truecolors c:\photos\photos\*.BMP 1>c:\photos\test.txt
nconvert -log -out jpeg -truecolors c:\photos\photos\*.gif 1>c:\photos\test.txt

content of test.txt afterwards:
** NCONVERT v4.86 (c) 1991-2007 Pierre-E Gougelet (Jan 29 2008/13:24:04) **
Version for Windows NT/9x/2000/Xp/Vista (All rights reserved)
** This is a freeware software (for non commercial use)


Thanks for your help!

regards, Volker

Re: log file

Posted: Thu Feb 21, 2008 1:18 pm
by xnview
Try 2>

Log file

Posted: Thu Feb 21, 2008 2:03 pm
by Volker
Hi Pierre,

2> works!

Thx, Volker