str GetVersionNumbersString(str Filename)
Returns the version of the specified file as a string (in "0.0.0.0" format) if successful, an empty string otherwise.
Also see GetStringFileInfo, which can also be used to retrieve file versions using "FileVersion" or "ProductVersion" as the second parameter. The difference is that GetVersionNumbersString takes it from the fixed block of version info, unlike GetStringFileInfo which extracts string from the language specific block.