A mIRC DLL would be great for this task, but I'm not aware of any.

The simplest way is to use FSO's GetFileVersion() method. It's relatively fast, but it only gives the file version number.

alias GetFileVersion {
  • [color:purple]; Usage: $GetFileVersion(filename)

    .comopen oFSO Scripting.FileSystemObject
    !.echo -q $com(oFSO, GetFileVersion, 1, bstr, $1)
    var %ver = $com(oFSO).result
    .comclose oFSO
    return %ver
}[/color]

If the rest of the information is important to you, copy Microsoft's FileVer.exe to your mIRC folder and call it as follows:

alias FileVer.exe {
  • [color:purple]; Usage: $FileVer.exe(filename, items)
    ;
    ; Possible items:
    ; CompanyName FileDescription InternalName
    ; OriginalFilenam ProductName ProductVersion
    ; FileVersion LegalCopyright LegalTrademarks

    .comopen oShell WScript.Shell
    .comclose oShell $com(oShell, Run, 1, bstr, % $+ COMSPEC% /c $&
    filever.exe /v $1 > $mircdirver.txt, uint, 0, bool, true)
    alias _fver $eval(set -u %fver $instok(%fver, $gettok($1, 2, 9), 0, 58),0)
    filter -fkg ver.txt _fver /^\t(?: $replace($2-,$chr(32),|) )/xi
    .remove ver.txt
    alias _fver
    return %fver
}[/color]

Of course, it's always possible to examine the file with mIRC's binary commands, but that's too much trouble for an ordinary script. visionz has done that in his Resource Viewer, but it's still beyond my knowledge. Sorry.