我在这里找到了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