如何在批处理文件中使用ExifTool?

时间:2023-01-11 02:09:26

ExifTool is a free and open-source software program for reading, writing, and manipulating image, audio, video, and PDF metadata.

ExifTool是一个免费的开源软件程序,用于读取,编写和处理图像,音频,视频和PDF元数据。

It has one problematic feature, after it finishes it stops and tells you to 'press RETURN' to continue which is a game breaker, because if you use it in some batch file that also performs other commands, all them gets delayed until user manually presses ENTER each time on his keyboard.

它有一个有问题的功能,它完成后停止并告诉你“按RETURN”继续这是一个游戏破坏者,因为如果你在一些也执行其他命令的批处理文件中使用它,所有它们都被延迟,直到用户手动按下每次在键盘上输入。

How to bypass that?

如何绕过那个?

1 个解决方案

#1


1  

From the exiftool main page:

从exiftool主页:

"rename to "exiftool.exe" for command-line use."

“重命名为”exiftool.exe“以供命令行使用。”

Exiftool allows for command line options to be accessed through drag and drop if you put them in the name of the program. In the default case, the -k option is in the name to keep the CMD window open so users and drag/drop and then read the output.

如果将它们放在程序名称中,Exiftool允许通过拖放访问命令行选项。在默认情况下,-k选项位于名称中以保持CMD窗口打开,以便用户拖放然后读取输出。

#1


1  

From the exiftool main page:

从exiftool主页:

"rename to "exiftool.exe" for command-line use."

“重命名为”exiftool.exe“以供命令行使用。”

Exiftool allows for command line options to be accessed through drag and drop if you put them in the name of the program. In the default case, the -k option is in the name to keep the CMD window open so users and drag/drop and then read the output.

如果将它们放在程序名称中,Exiftool允许通过拖放访问命令行选项。在默认情况下,-k选项位于名称中以保持CMD窗口打开,以便用户拖放然后读取输出。