How to Retrieve a File's “Product Version” in VBScript

前端 未结 5 876
你的背包
你的背包 2020-12-16 20:25

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

5条回答
  •  一整个雨季
    2020-12-16 21:16

    Wscript.Echo CreateObject("Scripting.FileSystemObject").GetFileVersion("C:\Windows\notepad.exe")
    

提交回复
热议问题