Found a useful windows command line function – “taskkill”. This is used to kill tasks or processes under windows from command line. The syntax is:
[code] taskkill /F /IM notepad.exe[/code]
Also noticed that this command sometimes does not work nice. It writes to the output that the task, whitich remains running, is killed. Comment this thread if you have some experience on this issue.