Returns the "File" version information.
FileGetVersion ( "filename" [,"stringname"] )
Parameters
| filename | Filename to check. |
| stringname | [optional] name of the field to be retrieved from the header version file info. |
Return Value
| Success: | Returns a string containing the version information, e.g. "3.0.81.0". |
| Failure: | Returns "0.0.0.0" if no version information (or other error) or "" when retrieving a stringname, and sets @error to 1. |
Remarks
stringname can be the basic one as :
Related
FileGetSize, FileGetTime
Example
$ver = FileGetVersion("Explorer.exe")
MsgBox(0, "Explorer version", $ver)