leuce wrote:Hmm, I think the problem may relate to the length of the file names. Is there a maximum file name length in nconvert?
There is a limit to the length of the command line, set by Windows or DOS I think, but it's very large and only becomes an issue when a large number of input files are listed separately at the end of the code; whether NConvert itself has a limit, I don't know and possibly only Pierre the developer would know, but I don't recall seeing any problems posted before...
Are you using Windows, and what is the approximate length of the file name causing the problem? Any unusual characters such as foreign accents in the file names, although I don't think that should be an issue for NConvert?
Be aware that in Windows, at least, there is a limitation on using spaces in paths when a wildcard is used in the input term, if that could possibly be the actual problem?? From memory I think that spaces in the filename itself are acceptable, but there mustn't be any spaces in the path to the filename or the code doesn't run.