Jump to content
Sign in to follow this  
Guest BuddyLee

File Properties

Recommended Posts

Guest BuddyLee

I need to be able to read the "Product Name" information from .exe files (please see the attached picture). To bring up the screen in the pic, right click an .exe file & choose properties & then the version tab. Thanks.

Share this post


Link to post
Share on other sites
/dev/null

I need to be able to read the "Product Name" information from .exe files (please see the attached picture).  To bring up the screen in the pic, right click an .exe file & choose properties & then the version tab.  Thanks.

<{POST_SNAPBACK}>

The function you are looking for is GetFileVersionInfo() - See MSDN LINK. However, you have to call this with DllCall (read beta help file) and there is another Win API function you will have to call: VerQueryValue - MSDN LINK. It's bit complex, but doable!

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
Guest BuddyLee

Thanks Kurt,

I tried to use the methods you talked about but the DLLCALL stuff is still over my head (aka I couldn't get it to work that way). But, while searching for more info on GetFileVersionInfo(), I found a command line utility that does just what I'm looking for. So, thanks again for the help and pointing me in the right direction. The link for the ShowVer program I found is:

http://www.codeproject.com/dll/showver.asp

To download the file, you will need to register (which is free).

Bud

Share this post


Link to post
Share on other sites
/dev/null

So, thanks again for the help and pointing me in the right direction.  The link for the ShowVer program I found is:

you're welcome and also thanks for your link!

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.