[winxp] Possible to make a batch file to kill Excel Processes?


Recommended Posts

So I have an app at work that outputs to Excel. The problem is that the app is so buggy that it leaves phantom Excel processes in memory and I have to close each manually and it's starting to drive me mad. I'm hoping to get something that I can use to kill all the processes in one step

  On 16/09/2010 at 01:27, AndyD said:

So I have an app at work that outputs to Excel. The problem is that the app is so buggy that it leaves phantom Excel processes in memory and I have to close each manually and it's starting to drive me mad. I'm hoping to get something that I can use to kill all the processes in one step

Sure, use TaskKill, which is built into Windows (not positive on XP), or PsKill from SysInternals which has a little better functionality in my opinion.

well i think everytime you open a program it may have a diferent process-id everytime

I think you can try creating the bat file and using

taskkill /im excel.exe /f

I havent done something in the cmd window in a while so that might be wrong but try it.

  Quote
well i think everytime you open a program it may have a diferent process-id everytime

I think you can try creating the bat file and using

taskkill /im excel.exe /f 

I havent done something in the cmd window in a while so that might be wrong but try it.

That will work ;)

You wouldn't even need a batch file for it. Just open "Run" and type that in, press enter and voila.

  On 16/09/2010 at 04:47, /- Razorfold said:

You wouldn't even need a batch file for it. Just open "Run" and type that in, press enter and voila.

Well im thinking he still gonna use that buggy program, so it would be easier to create the .bat file and just double click it when he needs to. That's ways better and convenient then just copy/paste or typing the line everytime he uses the program.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.