###Function###
FileGetVersion

###Description###
Returns the "File" version information.

###Syntax###
FileGetVersion ( "filename" [, "stringname"] )


###Parameters###
@@ParamTable@@
filename
	Filename to check.
stringname
	[optional] name of the field to be retrieved from the header version file info (see Remarks).
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a string containing the version information, e.g. "3.0.81.0".
Failure:	"0.0.0.0" if no version information (or other error) or "" when retrieving a stringname, and sets the @error flag to 1.
@@End@@


###Remarks###
The parameter stringname can be one of the following:
Comments, InternalName, ProductName, CompanyName, LegalCopyright, ProductVersion,
FileDescription, LegalTrademarks, PrivateBuild, FileVersion, OriginalFilename, SpecialBuild

Another special stringname is "DefaultLangCodepage" can be used to retrieve the default language and codepage.

The language and codepage can be used if needed to differentiate the "stringname" i.e. "080904b0\Comments" (see MSDN StringFileInfo in <a href="http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(VerQueryValue);k(DevLang-C);k(TargetOS-WINDOWS)&rd=true">VerQueryValue</a> function).

To get the version number of an AutoIt compiled script it is better to use the @AutoItVersion macro.

###Related###
FileGetSize, FileGetTime


###Example###
@@IncludeExample@@
