PDA

View Full Version : Error! Can't load filename (multitif & multipdf)



ve3meo
29.07.2019, 04:37 AM
I get this result even on this simple path:
"C:\Program Files (X86)\IrfanView\i_view32.exe" /multipdf=(C:\Temp\test.pdf, C:\Temp\jpgs\sample.jpg)

The error report lists the valid path and filename. Multitif creates an empty test.tif file while Multipdf produces nothing. Both launch the GUI after OKing the error message with an empty window and a status of "No file loaded..." The GUI can open the sample JPG and create the TIF and PDF from the Multipage menu.

Using IV 4.53 and latest plugin on Win 10 64bit.

ve3meo
01.08.2019, 03:38 PM
"C:\Program Files (X86)\IrfanView\i_view32.exe" /multipdf=(C:\Temp\test.pdf, C:\Temp\jpgs\sample.jpg)


I had a space character after the comma between the target file and the source file, as one would in a sentence. Removing it cleared the problem.

This works:

"C:\Program Files (X86)\IrfanView\i_view32.exe" /multipdf=(C:\Temp\test.pdf,C:\Temp\jpgs\sample.jpg )

This is pretty subtle but maybe well-known to users of the CLI. Stumped me for days...