• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

write a process-kill script under XP?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

vipergtsr1736

Member
Joined
Oct 10, 2003
Id like info on how to write a script under XP that would automatically end processes forcefully to certain processes that I have running in the task-manager to make it simple to prepare my computer for benchmarking, and maybe even a script to re-activate the programs after im done? Does anyone know how to do this if its possible? thanks :)
 
Code:
@echo off
taskkill /im apache.exe /f /t
taskkill /im gaim.exe /f /t
exit

Code:
@echo off
start "D:\AppServ\apache\Apache.exe"
start "C:\Program Files\Gaim\gaim.exe"
exit
 
thanks! i forgot to ask what kind of file do save it as once you type it into notepad? .ini? thanks
 
Back