Good morning,
This is not a duplicate of questions like this one: I'm not looking to open the command prompt and to replace the text of the prompt by something else:
I have just downloaded conEmu, a console emulator, and I would like to replace the command prompt program (cmd.exe) by that one.
Hereby some history: I have an application that opens a command prompt, writes some things to that prompt, and also writes those same things to a logfile. In case something goes wrong, I can either read it from the command prompt or from the logfile.
Now this is the situation I'm facing: the application starts, opens the command prompt, writes some stuff and closes. While closing, also the command prompt gets closed.
I know from previous experience that this can be handled, replacing cmd.exe by a more persistent commandline tool (like conEmu, the one I've just downloaded).
Point is: I don't know how I should configure my Windows-10 machine in order to open conEmu instead of cmd.exe.
Does anybody know?
Thanks in advance

%WinDir%that are user customizable and outside of those, a user should never modify anything within%WinDir%, as it's not meant to be user-modifiable and any changes to system files will be reverted onceSfc /ScanNowis run – JW0914 Mar 02 '22 at 08:56%WinDir%should never be done, as there's no reason to do so, it's not meant to be user-modifiable, and any changes will be reverted onceSfc /ScanNowis run since hashes won't match. There are a handful of user customizable config files in%WinDir%\System32\config\etc, but beyond that, I'm not aware of any other files that are customizable. – JW0914 Mar 02 '22 at 09:06