Batch convertion with nconvert

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Volker

Batch convertion with nconvert

Post 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
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch convertion with nconvert

Post 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
Pierre.
Volker

redirect hint

Post by Volker »

Hi Pierre,

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

Regards, Volker
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: redirect hint

Post by xnview »

Volker wrote:Hi Pierre,

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

I have got the same result

Post 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
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: I have got the same result

Post 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
Pierre.
Volker

I have got the same result as before

Post by Volker »

any ideas?

regards, Volker
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: I have got the same result as before

Post by xnview »

Volker wrote:any ideas?
Do you have tried my solution?
Pierre.
Volker

log file

Post 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
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: log file

Post by xnview »

Try 2>
Pierre.
Volker

Log file

Post by Volker »

Hi Pierre,

2> works!

Thx, Volker
Post Reply