Jump to content

Check version from .exe


Recommended Posts

Hoi y'all

I want to check the version from an .exe file but the filename keeps changing slightly. The begining of the filename stays the same though.....

I came up with this "ugly" thing but it won't work.

The "*" is just read as text instead of the don't care option.....

Does anyone has an solution for me please??

Global $Versie = FileGetVersion(@ScriptDir & "\Filename" & "*" & ".exe")
Link to comment
Share on other sites

Use FileFindFirstFile() and FileFindNextFile() to find a file based on a wildcard.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...