ExifTool Forum

ExifTool => Newbies => Topic started by: Carlito on August 31, 2017, 05:45:39 PM

Title: Exiftool as contextual menu
Post by: Carlito on August 31, 2017, 05:45:39 PM
Hello

I want to use exiftool to reorganize my raw files (PEF to be exact) renaming them as my phones photos...

With the command line, it's OK:
exiftool "-FileName<CreateDate" -d "%Y%m%d_%H%M%S%%-c.%%e" -k -v5 IMGP3772.PEF
file is created with the correct name...

but I would like to be able to right click on a file in my explorer to do the job, so I created this key in registry:
HKEY_CLASSES_ROOT\Photoshop.CameraRawFilePentax.110\shell\Convert name with exif date\command\
with a value:
Y:\exiftoolfolder\exiftool.exe "-FileName<CreateDate" -d "%Y%m%d_%H%M%S%%-c.%%e" -k -v5 "%1"

and unfortunately, this gives me this message:
======== Y:/path to the image/IMGP3766.PEF
Setting new values from Y:/path to the image/IMGP3766.PEF
Writing File:FileName
    0 image files updated
    1 image files unchanged

I tried many many things... do you have an idea?

Title: Re: Exiftool as contextual menu
Post by: StarGeek on August 31, 2017, 06:12:19 PM
I'd guess that it's not passing the quotes around "-FileName<CreateDate" and is redirecting the output into a file named FileName.

edit: Upon doing some google searches and local testing, I'm not so sure this is the case.  I'm not sure at all what's happening.
Title: Re: Exiftool as contextual menu
Post by: Carlito on September 01, 2017, 02:03:36 AM
your signature saved me!!!!!!!!

double the quotes solves the pb :D :D :D :D

Thx a lot
Title: Re: Exiftool as contextual menu
Post by: StarGeek on September 01, 2017, 02:34:59 AM
 ;D