Stopping black window(cmd)

Hi, I need some help please,I have a batch file running and it is visible in the desktop,…can i ask how can i stop this running batch file if i use task scheduler(windows 7).I already know how to use the task scheduler but my only problem is how to stop the running batch file (update.bat),.

Thank you in advance.

You can normally stop .bat files (or any program on the command line really, albeit windows, linux or mac) by pressing ctrl+c