I have 6 different scripts that I run together at the same time. The problem is that it is difficult to distinguish them in the Windows task manager, because the process is always just cmd.exe . I was wondering if there is a way to change the process name for the script package for something else so that each script is more identifiable.
I have done a lot of research on this topic so far, and the only thing I have is to create a copy of cmd.exe in system32, which has a different name, one of my preferences, The problem is that I'm not sure how to get my bash script to use this new executable with a different name, not the default cmd.exe
Requirement: Only the built-in Windows features must be used. I do not want to install any other programs, if possible.
source
share