Jump to content

Recommended Posts

Posted

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!

Posted

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.

  • Developers
Posted

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.
  :)

Posted

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)

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
×
×
  • Create New...