I have a VBScript that checks for the existence of a file in a directory on a remote machine. I am looking to retrieve the \"Product Version\" for said fil
I don't think you can do it in vbScript. I could be wrong on that.
Here is as link to a powershell script that does what you are asking.
link text
Here is what the output for my windows dir looks like.
PS Scripts:\> ls c:\windows\*.exe | .\get-fileversion.ps1
ProductVersion FileVersion FileName
-------------- ----------- --------
2.7.3.0 2.7.3.0 C:\windows\agrsmdel.exe