Filename References - using @ with filepath

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
dgan
Posts: 2
Joined: 2011-01-13T05:05:52-07:00
Authentication code: 8675308

Filename References - using @ with filepath

Post by dgan »

I initially posted this on Users forum, however it was suggested by Anthony Thyssen to report this as a bug...

When the using the input filename option to reference another file containing a list of input files (by using the @ prefix on the filename), is there a way to specify a path as well as the reference filename?

This option works as expected if the reference file is in the active directory when convert is run as shown in this example:

convert @myFileList.txt “C:\Output Folder\myOutput.pdf”

These variations where I attempted to reference a file in another directory do not work:

convert @C:\TempFolder\myFileList.txt “C:\Output Folder\myOutput.pdf”
convert @”C:\Temp Folder\myFileList.txt” “C:\Output Folder\myOutput.pdf”
convert C:\TempFolder\@myFileList.txt “C:\Output Folder\myOutput.pdf”

I'm running convert via a shell execute from a third-party application where I don’t have control over the current directory when the convert is run, so I cannot resolve by just changing the directory.

I'm using version ImageMagick 6.5.4-2.

Is this a limitation, bug, or am I using the wrong syntax?

Thanks!
Post Reply