Renaming a process

Oct 16, 2014 at 8:52pm
Hi everyone,

So I have my application --> myapp.exe
As it is running, in the Windows Task Manager / Processes tab, it is showed as myapp.exe

I want to change the name that is displayed in the task manager based on one variable inside my program, is there a way to do this?

I have tried SetConsoleTitle() but it does't affect the name in the process tab of the task manager.

Thanks.
Oct 19, 2014 at 7:39am
IIRC its going to be whatever the name of the process already is. that being said, im sure you could do something similar to creating a daemon. ie creating a child process under a pseudonym, then stopping the parent process, then running the rest of the code
Topic archived. No new replies allowed.