Created
August 29, 2022 01:05
-
-
Save tnhung2011/aac6f762e55e9b8e6274092ce60baf25 to your computer and use it in GitHub Desktop.
A simple batch script to terminate background tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set args=%* | |
if [%args%] EQU [] ( | |
tasklist | |
set /p args=Taskname to kill:^ | |
) | |
taskkill /f /im %args% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment