- Oct
- 358
- 2
Hello -- I am having and issue with the tool/program exiftool
it seems that some of the command line switches will use % as part of tag to indicate a replacement value, ie %f will replace %f with the filename, so a command line might look like
exiftool -w %f .....
I have exiftool set up as batfile to get to the location where its located, then that bat file runs exiftool.exe
my issue is when at the cmd prompt I issue
exiftool -w %f .....
The first level of evaluation removes %f (%f does not have any value)
so I then tried
exiftool -w %%f .....
Which sort of worked —
in the exiftool batfile, %1$ — did have ...... %f ... in it (one of % was removed ), but
when later in the batfile I ran
exiftool.exe .....
the “%f” was removed and what was left was
exiftool -w
is there a way to “escape” the “%f” at the command prompt, so when the exiftool (.exe) run is
sees ..... -w %f
Thanks
it seems that some of the command line switches will use % as part of tag to indicate a replacement value, ie %f will replace %f with the filename, so a command line might look like
exiftool -w %f .....
I have exiftool set up as batfile to get to the location where its located, then that bat file runs exiftool.exe
my issue is when at the cmd prompt I issue
exiftool -w %f .....
The first level of evaluation removes %f (%f does not have any value)
so I then tried
exiftool -w %%f .....
Which sort of worked —
in the exiftool batfile, %1$ — did have ...... %f ... in it (one of % was removed ), but
when later in the batfile I ran
exiftool.exe .....
the “%f” was removed and what was left was
exiftool -w
is there a way to “escape” the “%f” at the command prompt, so when the exiftool (.exe) run is
sees ..... -w %f
Thanks