Batch Script - TASKKILL


Advertisements


This batch command ends one or more tasks.

Syntax

Taskkill /im [taskname]

Example

@echo off 
Taskkill /im mspaint.exe

Output

The above command will send a termination message to any open programs of MS Paint.


batch_script_commands.htm

Advertisements