Menu

#52 Definition of JHOVE_HOME in jhove.bat

v1.0_(example)
open
nobody
None
5
2016-09-07
2013-06-24
No

By default, JHOVE_HOME points to a location under C:\Program Files\jhove; however the actual location depends on where the user decides to install JHOVE, so in many cases this value has to be updated by the user.

A better solution would be to use the following default instead:

SET JHOVE_HOME=%~dp0

Which sets JHOVE_HOME to the directory where the batch file is located, which results in JHOVE working out of the box without the need for any user editing whatsoever!

(BTW I've suggested this before, see here!)

Discussion

  • Gary McGath

    Gary McGath - 2013-06-25

    It would have been much more useful to mention this during the test period for 1.10, which just ended recently. Now that it's in the bug list, I'll make sure to take care of it for the next release, but I can't say right now when that will be.

     
  • Carl Wilson

    Carl Wilson - 2016-09-07

    Similar already exists on GitHub and this has been fixed to some degree.

     

Log in to post a comment.

MongoDB Logo MongoDB