Author Topic: Calling ExifTool.exe from a batch file  (Read 519 times)

stantess

  • Newbie
  • *
  • Posts: 2
Calling ExifTool.exe from a batch file
« on: March 05, 2020, 10:24:04 PM »
I would like to open ExifTool from a batch file and pass it the folder location to open and also to pass the Workspace definition file to open.

This code opens ExifTool with the correct folder opened:

set mydate=%date:~10,4%%date:~4,2%%date:~7,2%

START "" "C:\ExifTool\ExifToolGUI.exe" "S:\Digital Photographs\2020\%mydate%\"


Can I also pass this string "C:\ExifTool\Nikon Zoom-Nikkor 35-105mmWorkspace.ini"  to load the Workspace definition file and if I can how do I do it.

Thanks!

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3951
Re: Calling ExifTool.exe from a batch file
« Reply #1 on: March 06, 2020, 12:15:41 AM »
Are you running ExifTool or ExifToolGUI?  It looks like you mean the GUI.

As the Sticky Post in the ExifTooGUI subforum says, ExifToolGUI is no longer supported. 
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

stantess

  • Newbie
  • *
  • Posts: 2
Re: Calling ExifTool.exe from a batch file
« Reply #2 on: March 06, 2020, 12:44:43 AM »
Thanks!  Yes I am running ExifToolGUI.  There is a lot of information to read in support of ExifTool and I just didn't come across the info the the GUI was no longer supported yet. I guess then I'm just out of luck as to what other input parameters are supported and how to supply them.