Hi All,
Is there a file version api, like filever.exe to
read the embedded version of a file?
Many thanks,
-T
On 2/2/2025 9:33 PM, T wrote:
Hi All,In version.dll. GetFileVersionInfoSize, GetFileVersionInfo
Is there a file version api, like filever.exe to
read the embedded version of a file?
Many thanks,
-T
and VerQueryValue.
It's fairly involved. Assuming that you're not generally dealing
with Win32 API, you could use the much simpler VBScript
method:
Dim FSO, s
Set FSO = CreateObject("Scripting.FileSystemObject")
s = FSO.GetFileVersion("C:\Windows\system32\shell32.dll")
MsgBox s
Set FSO = Nothing
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 197:53:31 |
Calls: | 9,601 |
Calls today: | 2 |
Files: | 13,682 |
Messages: | 6,152,323 |