zzen11 Posted December 30, 2004 Posted December 30, 2004 Any way to retrieve attributes of a file other than the version using autoit? Like product name, product version, etc, etc, in some of the files. Thanks!
SlimShady Posted December 30, 2004 Posted December 30, 2004 I only know this one:FileGetVersion ( "filename" )
zzen11 Posted December 30, 2004 Author Posted December 30, 2004 I only know this one:<{POST_SNAPBACK}>I am writing a script, it needs to determine the version of software. The version number is on the exe as an attribute called productVersion. The FileGetVersion only retrieves the version of the file.
SlimShady Posted December 30, 2004 Posted December 30, 2004 You mean you want to read out the information that's visible in the "Summary" tab? (Wow. Long sentence)
Developers Jos Posted December 30, 2004 Developers Posted December 30, 2004 Any way to retrieve attributes of a file other than the version using autoit? Like product name, product version, etc, etc, in some of the files.Thanks!<{POST_SNAPBACK}>AutoIt doesn't retrieve the resource info from program files.You could use reshacker for this ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
ezzetabi Posted December 30, 2004 Posted December 30, 2004 I am afraid it can't be done even with DllCall... The Func you need is GetFileAttributesEx of the kernel32.dll But it needs lpFileName As String, and no problems. fInfoLevelId As Struct_MembersOf_GET_FILEEX_INFO_LEVELS, autoit cant manage this. lpFileInformation As Any, no problems (maybe)
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