FILE_GetVersionString

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > FILE: functions working on files >

FILE_GetVersionString

 

Description

 

Returns the file version, of a given file name, in string format.

 

Syntax

 

 s = File_GetVersionString(sFile)

 

Returns

 

Returns a string

The full file version string.

 

Parameters

 

Name

Type

Optional

Meaning

sFileName

String

No

The full file name (path + file name) of the file you want to get info

 

Remarks

 

The file version number

 

Restrictions

 

 

See also

 

File Module, File_GetVersion

 

Examples

 

MsgBox 0, File_GetVersionString("c:\windows\explorer.exe")

'result can be 6.0.2900.2180