ExifTool Forum

ExifTool => Developers => Topic started by: efry on February 03, 2011, 03:45:23 PM

Title: Limits on the commandline
Post by: efry on February 03, 2011, 03:45:23 PM
Which limitations (if any) are there on the length of the commandline?

In my application there seems to be a failure, if the length of the commandline exeeds about 24200 characters, but it may be the application (written in VisualBasic) which causes the problem.

I have also tried to call ExifTool from a .bat-file, but also there it seems, that a very long commandline results in an error.

Is there a limitation on the number of files, which can be processed in a call to ExifTool?
Title: Re: Limits on the commandline
Post by: BogdanH on February 03, 2011, 04:15:56 PM
Hi,

It's not Exiftool that limits that size (length).. it's OS. See here:
http://blogs.msdn.com/b/oldnewthing/archive/2003/12/10/56028.aspx

Hope this helps.

Bogdan
Title: Re: Limits on the commandline
Post by: Phil Harvey on February 03, 2011, 06:01:58 PM
Thanks Bogdan,

Yes, there is a limit with the Windows cmd shell, but not with Mac or Linux shells.

The -@ option may be used to get around this.

- Phil