is it possible to create a batch file that end tasks a number of processes?]
when I got to play some games I end task things like explorer.exe and reboot since it grows in memory use after a while on and some other stuff I use doing things I end task.
So is it possible to have a single run batch to do this?
taskkill /?
Quote from: neXusis it possible to create a batch file that end tasks a number of processes?]
when I got to play some games I end task things like explorer.exe and reboot since it grows in memory use after a while on and some other stuff I use doing things I end task.
So is it possible to have a single run batch to do this?
yes.
taskkill dont always work. If not get pstools from here (http://www.microsoft.com/technet/sysinternals/Utilities/PsTools.mspx), extract to c:\pstools and then in the bat file put:
c:\pstools\pskill.exe taskname.exe
e.g. to kill notepad and start AOE3 do:
c:\pstools\pskill.exe notepad.exe
cd\progra~1\micros~2\ageofe~1\
start age3.exe
or whatever.
edit: You could also do -
c:\pstools\pskill.exe notepad.exe
cd\progra~1\micros~2\ageofe~1\
start /wait age3.exe
start c:\windows\notepad.exe
to reopen the closed app(s) once you leave the game.
Quote from: M3ta7h3adyes.
Since when did you turn into red? :lol:
Quote from: Clockd 0NeQuote from: M3ta7h3adyes.
Since when did you turn into red? :lol:
lol was just answering his question :)
Didnt ask me how to do it :) asked me if it could be done! :D