Search code examples
c++createprocess

How can I set the name of a process created with CreateProcess?


I am starting a process with CreateProcess following the formulas found on google. What I am wondering, is can I set the process name of the created process so that it is obvious in the task manager?

Thank you,
--Douglas


Solution

  • That's not an available option. The process name as visible in Task Manager is derived from the file name. If you want another name to show up then simply rename the EXE file.