If the bat file is being run, it will be creating a text file also called 'DSC_8524.JPG.txt ' that has the crop dimensions in there. Did you install exiftool on your PC?
Patrick
Photo Mechanic's & Cropping
Photo Mechanic's & Cropping
Patrick
It doesn't seem to be creating a text file, i have the a perl version of exiftool installed.
It doesn't seem to be creating a text file, i have the a perl version of exiftool installed.
Photo Mechanic's & Cropping
JJ wrote:c:
cd E:\Pictures\2008\European\WSK La Conca
exiftool -CropLeft -CropRight -CropTop -CropBottom DSC_8524.JPG > DSC_8524.JPG.txt
exit
Since you are using files on your e: drive, change the script to write e: as the first line of the bat file instead of c:, I think that will fix it.
cd E:\Pictures\2008\European\WSK La Conca
exiftool -CropLeft -CropRight -CropTop -CropBottom DSC_8524.JPG > DSC_8524.JPG.txt
exit
Since you are using files on your e: drive, change the script to write e: as the first line of the bat file instead of c:, I think that will fix it.
Photo Mechanic's & Cropping
Patrick
I'm getting there slowly, now i'm creating a blank text file.
I'm getting there slowly, now i'm creating a blank text file.
Photo Mechanic's & Cropping
JJ,
Did you get this working or do you still need help?
Mike
Did you get this working or do you still need help?
Mike
Photo Mechanic's & Cropping
Ok, my guess is that the commandline processor can't find exiftool.
If you replace exit with cmd in your bat file the command window should stay open so you can read any errors. I think it will say " 'exiftool' is not recongized . . ."
If that is the case you can either add the folder that contains exiftool to the dos path or use the full path to exiftool in the bat file "c:\perl\bin\exiftool"
Mike
If you replace exit with cmd in your bat file the command window should stay open so you can read any errors. I think it will say " 'exiftool' is not recongized . . ."
If that is the case you can either add the folder that contains exiftool to the dos path or use the full path to exiftool in the bat file "c:\perl\bin\exiftool"
Mike
Photo Mechanic's & Cropping
Mike
You're correct, can you walk me through fixing the problem please.
I've also got exiftool(-k) on my desktop.
You're correct, can you walk me through fixing the problem please.
I've also got exiftool(-k) on my desktop.
Photo Mechanic's & Cropping
As you also have the standalone version just rename exiftool(-k).exe on your desktop to exiftool.exe and copy or move it the the windows folder.
CMD will be able to find it now and you text file should have 4 lines.
Mike
CMD will be able to find it now and you text file should have 4 lines.
Mike
Photo Mechanic's & Cropping
Thanks Mike
It's working great, would it be possible to get the script to delete the text file when it's finished with it, also would it be possible to leave crop open?
It's working great, would it be possible to get the script to delete the text file when it's finished with it, also would it be possible to leave crop open?