Exe file description


Is there any way to change EXE file description ? Something like Windows API maybe ?
When you right click an exe file and display the properties, you will read its description.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

To do this, you need to add Version information to your document.  If you're using Microsoft Visual C++, you can just do an "Add Resource" and select Version in the add resource dialog box.  The steps to do this are a little different depending upon which version of Visual C++ you have and which type of project you have.  Then you can put the description that you want to show up in the "FileDescription" section of the version.  Hope this helps.
muis2002Author Commented:
Yes, I know that. I made the exe my self. But my question is, is there any way to CHANGE it? Using external application I meant.
It has to be built into the exe.  You can't change it externally.  If you made the exe yourself, why can't you add the resource and recompile it?
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Win32 has 'UpdateResource()' that can be used to change any resource. You can also open the .exe file in Visual Studio, all you nedd to do is selcting "Resource" in the "Open as" combo box.
Jaime OlivaresSoftware ArchitectCommented:
Must be programaticaly?
If you just have to change some info about Version Resource, use Visual C++, open .exe file **as resource**, all resources of file will appear, including version resource, then you can change it and save again.
Jaime OlivaresSoftware ArchitectCommented:
If you want to update it programatically, read this article:
muis2002Author Commented:
Thanks for the information. But I cant find any information about how to change the DESCRIPTION (not the file version).
Jaime OlivaresSoftware ArchitectCommented:
Description is an item of file version.
Follow the codeproject's sample
After GetFileVersionInfo, use VerQueryValue() to obtain '\VarFileInfo\Translation' value. Store translation in a structure like this:
      struct translate
            WORD languageId;
            WORD characterSet;
      } Translation;
Now use VerQueryValue() again to obtain 'VarFileInfo\xxxx\FileDescription' where xxxx is translation ids.
Read more at GetDynamicInfo() in this sample code:

MSDN info:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.