Writing -icc_profile in -stay_open -execute mode - problem

Started by user2014, May 02, 2023, 08:48:25 AM

Previous topic - Next topic

user2014

Hi,

when I write an icc_profile in command line mode
e.g.
exiftool "-icc_profile<=F:\Profiles3\prof1.icm" F:\Images\Image1.TIF
everything works fine.

In -stay_open -execute mode, I get strange messages:
e.g.
ExifTool Error: Error: File not found - "-icc_profile<=F:\Profiles3\prof1.icm"

"-icc_profile<=F:\Profiles3\prof1.icm" is one line on stdin - I tried it with " and without.
Waht am I doing wrong ?
Do I have to split this line ?
Can someone help ?
Thank you
Bye
Erwin

user2014

Hello again,

problem solved.
As expected - it's the double quotes "
On command line they are necessary,
in stay_open mode not.
Bye
Erwin