【发布时间】:2018-09-27 00:28:58
【问题描述】:
我在这里找到了 exiftool 的以下命令行表达式:Extract thumbnail from jpeg file
exiftool -a -b -W %d%f_%t%-c.%s -preview:all YourFileOrDirectory
该命令在命令行上运行良好,但在以下批处理程序中运行时,百分号似乎被误解了,我不知道如何让它接受它。有人可以告诉我如何为批处理编写此命令。
:: This exif command will create a file in the same directory as the one
:: where the original photo is located that contains all the thumbnail
:: images contained in the file's exif data. The exact path to the original
:: must be specified in this command.
cd\
exiftool -a -b -W %d%f_%t%-c.%s -preview:all c:\users\cher\pictures\one.jpg
pause
【问题讨论】:
标签: batch-file exiftool