Ending specific task/process with batch script if it’s found in tasklist For context, I found this among XAMPP batch files: