I was looking for a way to find a file version with vbscript and found this, which should work for .dlls and .exes:
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
file = “C:\windows\file.exe”
Wscript.Echo objFSO.GetFileVersion(file)
Easy!
July 22, 2008 by leegend
I was looking for a way to find a file version with vbscript and found this, which should work for .dlls and .exes:
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
file = “C:\windows\file.exe”
Wscript.Echo objFSO.GetFileVersion(file)
Easy!
woww.. thanks alot man…