HI.

[other than some hooks for custom search extensions], MarkLogic does not
have a way to directly run code external to itself. You always need to
bridge to this other code as you have seen in the MLJAM example.

However.. Looking at your use case, consider the fact that MarkLogic can
extract interesting metadata from over 100 different file formats.. DLL
(Windoes Executable) is one of them (lister under 'other'

https://docs.marklogic.com/guide/search-dev/binary-document-metadata

So, maybe your goal is reachable by using ML to do the extraction for you...



Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 2 September 2015 at 21:17, Danny Sinang <[email protected]> wrote:

> Has anyone here tried running Windows executable files from within XQuery
> scripts ?
>
> I've got a VBScript that can read the version info of any given DLL, and
> I'd like to invoke it from an ML scheduled task and store the version info
> inside MarkLogic.
>
> The list of DLLs to read is stored in an XML file inside MarkLogic.
>
> I think I can probably use MLJAM to make the OS run the VBScript, but I'm
> wondering if there's a solution out there that involves less components /
> moving parts.
>
> Regards,
> Danny
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to