Creating variables for MS-DOS-BAT-script?

Started by Jossie, October 20, 2020, 04:38:19 AM

Previous topic - Next topic

Jossie

Hello,

is it possible to create MS-DOS variables inside a BAT script using EXIFtool, e.g. to signal the existence of a specified tag or create a variable with the content of a specified tag? I could then use these variable to branch in the script according to the content.

Hermann-Josef
WINDOWS11 64bit

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Jossie

Thank you Phil for this link. I will give it a try and report back.

Hermann-Josef
WINDOWS11 64bit

Jossie

Just tested it with the command line. It works nicely! Thanks a lot again.

Hermann-Josef
WINDOWS11 64bit