1

I want to terminate explorer.exe's tree in a batch file and continue with its commands, but it seems to kill the batch file also. I was wondering if I can exclude the processes that CMD/ the batch file use.

I found something similar to what I want to do here, but it deals with the user and not a process tree. Any help?

closed as too broad by DavidPostill Nov 25 '18 at 8:22

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?. – DavidPostill Nov 25 '18 at 8:23