- To close a program
Output may defer according to your open system tasks so, write the code and execute/run your batch file
@echo off taskkill /f /im notepad.exe
It will close all NOTEPAD Program if open /f = to forcefully terminate the process(es) /im = Specifies the image name of the process to be terminatedProgram
After writing the code, Double-click your batch file, It will close the specified program
:: to close any open program taskkill /f /im [PROGRAM_NAME] :: to close any program via its PID taskkill /pid [PID_NUMBER]
Coming Soon !Quick
A good decision is based on knowledge and not on numbers.