@echo off taskkill /IM python.exe /F taskkill /IM chrome.exe /F taskkill /IM chromedriver.exe /F taskkill /IM cmd.exe /F echo The process Python has been terminated. ::pause