DaLiMan Posted July 27, 2005 Share Posted July 27, 2005 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 More sharing options...
blindwig Posted July 27, 2005 Share Posted July 27, 2005 Use FileFindFirstFile() and FileFindNextFile() to find a file based on a wildcard. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
DaLiMan Posted July 28, 2005 Author Share Posted July 28, 2005 Use FileFindFirstFile() and FileFindNextFile() to find a file based on a wildcard.<{POST_SNAPBACK}>OK, After some while I have it working now. :"> Thanx!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now