Can I specify an output text file when using an argument file?
I am using argument file with some non-Latin filenames. So my arguments file Instructions.txt looks like this:
R:\Landing zone\MOVs\Video\Хабаровске.MOV
> C:\Users\John\Documents\Output.txt
-n
-g
-J
The command line is like this:
"C:\Users\John\...exiftool.exe" -charset filename=utf8 -@ "C:\Users\John\...Instructions.txt" -k
The Exiftool cmd window shows that the Cyrillic file is being read, but I get "Error - file not found" for the Output file.
Any thoughts?
John, please try the following
R:\Landing zone\MOVs\Video\Хабаровске.MOV
-charset
filename=utf8
-n
-g
-J
-w
C:\Users\John\Documents\Output%c.txt
Using the > sign to output to a file is a property of the CMD shell and won't work in an argument file because CMD isn't used to process the file. @mnaoumov example using the -w (textout) option (https://exiftool.org/exiftool_pod.html#w-EXT-or-FMT--textOut) is probably the best solution.
Thanks both. I've modified slightly to overwrite existing extracts, and put the -charset filename=utf8 lines in the Exiftool command line.
R:\Landing zone\MOVs\Video\Хабаровске.MOV
-n
-g
-J
-w[b]![/b]
C:\Users\John\Documents\jb Video Metadata\Read[b] %f[/b].txt