PDA

View Full Version : Reading the version from a dll or exe


Murrgon
08-02-2005, 01:48 PM
Is it possible to read the file version from a dll or exe file and store it in a macro? Can I do this in script?

kinook
08-02-2005, 01:59 PM
Use this in the Set Macro action's Value field:

[vbld_FSO.GetFileVersion("c:\path\to\file.ext")]

or

[vbld_FSO.GetFileVersion("%MACRO_WITH_FILENAME%")]

Murrgon
08-02-2005, 02:19 PM
This gets better all the time! Thank you.