Page 1 of 1

command line batch help

Posted: 2018-11-06T09:00:15-07:00
by lfpm062010
Hi,
Not sure if I should post it here or under development.
There is not much documentation to help me troubleshoot the problem. I am hoping I can get an answer from here.

I am trying to use the command to generate a PDF output file.

SYNTAX:
magick @"C:\users\abc\desktop\filelist.txt" finaloutput.pdf

"C:\users\abc\desktop\filelist.txt":
c:\users\abc\appdata\local\temp\doclist1.pdf
\\server\file1.bmp
\\server\file2.pdf
\\server\file3.rtf

It gives me an error
mgick.exe: unable to open image'@C:c:\users\abc\appdata\local\temp\doclist1.pdf' : Invalid argument @ error/blob.c/OpenBlob/3490.
mgick.exe: unable to open image'@C:\\server\file1.bmp' : Invalid argument @ error/blob.c/OpenBlob/3490.
mgick.exe: unable to open image'@C:\\server\file2.pdf' : Invalid argument @ error/blob.c/OpenBlob/3490.
mgick.exe: unable to open image'@C:\\server\file3.rtf' : Invalid argument @ error/blob.c/OpenBlob/3490.

Please let me know if you need more information.
Thank you for your help in advance,

lfpm062010

Re: command line batch help

Posted: 2018-11-06T09:09:42-07:00
by snibgo
IM has problems with drive-colon (eg "C:") in file lists (and elsewhere). I suggest you arrange your task so drives are not required.

Does that cure the problem?

Re: command line batch help

Posted: 2018-11-06T09:14:01-07:00
by lfpm062010
How about the "\\servername"?

Re: command line batch help

Posted: 2018-11-06T09:37:55-07:00
by snibgo
You need a protocol the server will recognise such as "http:". And I suggest you use forward-slashes, not backslashes.