output file name

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
CptWacko

Re: output file name

Post by CptWacko »

I got a weird thing happening ! When I'm trying "filename_%04d.jpg" (from a batch file) the file output name is filename_"path_to_batch_file"4d.jpg when the batch file executes.

Does anyone know why I got that problem happening ?

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: output file name

Post by fmw42 »

CptWacko wrote:I got a weird thing happening ! When I'm trying "filename_%04d.jpg" (from a batch file) the file output name is filename_"path_to_batch_file"4d.jpg when the batch file executes.

Does anyone know why I got that problem happening ?

If you are on windows, % have to go to %% (escaped). But I don't know the %04d works in windows even with %%. I am not a windows user. So see http://www.imagemagick.org/Usage/windows/

Locked