Stop programm from command line

To stop a programm from the command line or dos box there is the command TASKKILL TASKKILL /IM winword.exe

This will send a gracious close request.

If the programm must be killed with force, add /F