If I try to export batch for NConvert the resulting command has wrong value of -o parameter (output filename). NConvert does not do desired operation because of "Error: Can't create file".
Step to reproduce problem:
* Run XnView, select several images
* Tools -> Batch convert
* select some output directory, e. g. "C:\temp"
* Hit "Export batch for NConvert..." button and choose some filename, e. g. "convert.bat"
When you tries to run convert.bat, you get one error for each file in selection:
Error: Can't create file (C:\temp)
The problem is that convert.bat contains this command:
nconvert [some_options] -o C:\temp [list_of_files]
According to NConvert help, option -o needs filename, not just directory name. Therefore, the -o part of command should look like
-o C:\temp\%%.jpg
(the extension depends of selected output format)
Export bach for NConvert: wrong value of -o option
Moderators: helmut, XnTriq, xnview
Re: Export bach for NConvert: wrong value of -o option
Ok, i'll change itMartin Trcka wrote:If I try to export batch for NConvert the resulting command has wrong value of -o parameter (output filename). NConvert does not do desired operation because of "Error: Can't create file".
Step to reproduce problem:
* Run XnView, select several images
* Tools -> Batch convert
* select some output directory, e. g. "C:\temp"
* Hit "Export batch for NConvert..." button and choose some filename, e. g. "convert.bat"
When you tries to run convert.bat, you get one error for each file in selection:
Error: Can't create file (C:\temp)
The problem is that convert.bat contains this command:
nconvert [some_options] -o C:\temp [list_of_files]
According to NConvert help, option -o needs filename, not just directory name. Therefore, the -o part of command should look like
-o C:\temp\%%.jpg
(the extension depends of selected output format)
Pierre.