Exiftool as contextual menu

Started by Carlito, August 31, 2017, 05:45:39 PM

Previous topic - Next topic

Carlito

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?


StarGeek

#1
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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Carlito

your signature saved me!!!!!!!!

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

Thx a lot

StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype