zzen11 0 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! Share this post Link to post Share on other sites
SlimShady 1 Posted December 30, 2004 I only know this one:FileGetVersion ( "filename" ) Share this post Link to post Share on other sites
zzen11 0 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. Share this post Link to post Share on other sites
SlimShady 1 Posted December 30, 2004 You mean you want to read out the information that's visible in the "Summary" tab? (Wow. Long sentence) Share this post Link to post Share on other sites
Jos 2,175 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. Share this post Link to post Share on other sites
ezzetabi 3 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) Share this post Link to post Share on other sites