# Function Reference

FileGetVersion

Returns the "File" version information.

FileGetVersion ( "filename" )

Parameters

filename | Filename to check.

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), and sets @error to 1.

Remarks

None.

Related

FileGetSize, FileGetTime

Example

$ver = FileGetVersion("Explorer.exe")
MsgBox(0, "Explorer version", $ver)