Like Tree1Likes
  • 1 Post By _Mike

Editing the process description of your .exe file (Console Application)

This is a discussion on Editing the process description of your .exe file (Console Application) within the Windows Programming forums, part of the Platform Specific Boards category; How do you do it? I refer to the process description listed in the "Processes" tab of the Task Manager ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    25

    Question Editing the process description of your .exe file (Console Application)

    How do you do it? I refer to the process description listed in the "Processes" tab of the Task Manager in Windows 7 specifically, although one that would list in XP or newer OS would be ideal also.

    For example I would like to enter "Mystery Aboard the RMS Novelty" as the description for my process, since it is the name of the program I am writing.

    Hope I have included enough info! Thanks for your time in reading this all.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Posts
    25
    I do not believe so. That would set the title of the console window of your program, correct? I don't want that, if that's the case - and I tried to input it in my code to test, it would not compile, I have tried putting it in different places to see if it was a global conflict of some sort. In the Task Manager Process monitor, you can manually terminate processes, I myself use this frequently so it looks unpolished to me if a process doesn't have an apt description in the "description" section - each process has one, but by default it just repeats the name of the process (ie. mine is matrmsn.exe - an acronym for the aforementioned title - it just repeats this in the description field).

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    412
    VERSIONINFO Resource (Windows)
    It's the FileDescription field.

    In visual studio:
    right-click your project -> Add -> Resource -> Version

    Or if you're using express, which I don't think has the resource editor:
    Add a new file called (project name).rc and open it in a text editor and write the VERSIONINFO structure yourself. See the link for an example.

    If you're using any other compiler you'd have to check it's documentation to find out how to compile resources.
    Salem likes this.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by _Mike View Post
    VERSIONINFO Resource (Windows)
    It's the FileDescription field.

    In visual studio:
    right-click your project -> Add -> Resource -> Version

    Or if you're using express, which I don't think has the resource editor:
    Add a new file called (project name).rc and open it in a text editor and write the VERSIONINFO structure yourself. See the link for an example.

    If you're using any other compiler you'd have to check it's documentation to find out how to compile resources.
    If using Visual Studio Express... you can use an external resource editor.
    Of course this also lets you create dialogs, menus, etc. so it's more valuable than just this one instance.

    A fairly good one is here ... ResEdit Resource Editor - free resource editor for Win32

  6. #6
    Registered User
    Join Date
    Sep 2011
    Posts
    25
    Thanks, all. I have Visual Basic 2010 full. I'll test this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help editing console output
    By Longbow0705 in forum C++ Programming
    Replies: 6
    Last Post: 03-27-2009, 08:57 AM
  2. One process with two console windows
    By siavoshkc in forum Windows Programming
    Replies: 8
    Last Post: 01-30-2009, 03:13 PM
  3. Console Application
    By llcool_d2006 in forum C++ Programming
    Replies: 11
    Last Post: 11-04-2006, 02:46 PM
  4. Process still active when application exits
    By xds4lx in forum Windows Programming
    Replies: 13
    Last Post: 08-15-2002, 02:17 AM
  5. Application running as a process in Win2k?????
    By J_Bravo in forum Windows Programming
    Replies: 8
    Last Post: 05-07-2002, 04:02 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21