I have installed exiftool in a folder. Declare its full path to global env. setting of windows to call exiftool from everywhere.
In the same folder i created some batch files that describe often used exiftool processes.
In a certain folder if i have called one of these batch i am getting the following error:
exiftool -overwrite_original *.nef *.tif -maxApertureValue="4.5" -exif:lensMake="Nikon" -exi
f:lensInfo="80 200 4.5 4.5" -exif:lensModel="Nikkor 80-200mm f/4.5"
Can't locate PAR.pm in @INC (@INC contains: .) at -e line 860.
Whats wrong ?
If you can run exiftool yourself without problems, then there must be something different about the environment in the batch file that is causing a problem. Are you setting any PAR environment variables? This is either a problem with a corrupted exiftool installation or something that is broken somehow with the exiftool PAR package. I have never seen this particular problem, but I suggest deleting all exiftool temporary files (see the uninstall instructions for details) and trying again, then check your environment if this doesn't help.
- Phil
Ok, i tested it on 2nd pc and it works. I will clean the temp files and try it again on 1st pc.
This problem has come up again. See this thread. (https://exiftool.org/forum/index.php/topic,3241.0.html)
- Phil