I'm looking for a way to check an exe for the version number if possible. I take it something like this can't be done using batch?

I'm looking for a way to check an exe for the version number if possible. I take it something like this can't be done using batch?

do you want two ways of doing it?
You can do it in vbscript:
Code:Option Explicit Dim objFSO Set objFSO = CreateObject("Scripting.FileSystemObject") Wscript.Echo objFSO.GetFileVersion("c:\windows\system32\notepad.exe")

There are currently 1 users browsing this thread. (0 members and 1 guests)