[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.
  • Posts

    • I'd rather just wait for the Snipping Tool update to officially roll out. If I can't wait I'd Just use ShareX from the Microsoft Store for the same functionality...
    • Ah so it's not in the .ISO it's self but it changes the definition in the OOBE update during setup?
    • They always have. This just updates what's included out of the box during the initial install.
    • So basically their prebuilding it into the ISOs?
    • Microsoft shares Defender anti-virus update for new Windows 11/10 ISOs by Sayan Sen Following the one for Lumma last month, Microsoft has also published a new Defender update for Windows 11/10/Server installation images this month. This update package is necessary as a Windows installation image may contain old, outdated anti-malware definitions and software binaries. Aside from better security, these updates can also provide improved performance benefits in some cases. When a new Windows installation is set up, there may be a temporary security risk due to outdated Microsoft Defender protection in the OS installation images. This happens because the antimalware software included in these images might not be up to date. Thus Microsoft says that these updated definitions essentially help close this protection gap. Microsoft delivered the latest security definitions for Windows images via security intelligence update version 1.431.54.0. The Defender package version is also the same. It applies to Windows 11, Windows 10 (Enterprise, Pro, and Home editions), Windows Server 2022, Windows Server 2019, and Windows Server 2016. Microsoft writes: From Microsoft's security bulletin, we learn that the security intelligence update version 1.431.54.0 was released this past week adds threat detections for various backdoor exploits, trojans, among others. For those wondering, the latest intelligence update is version 1.431.155.0 at the time of writing.
  • Recent Achievements

    • One Month Later
      SekTheFirst earned a badge
      One Month Later
    • First Post
      zayanhani earned a badge
      First Post
    • First Post
      HarryTaylor earned a badge
      First Post
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      Eternal Tech earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      649
    2. 2
      ATLien_0
      225
    3. 3
      Michael Scrip
      223
    4. 4
      Steven P.
      141
    5. 5
      +FloatingFatMan
      141
  • Tell a friend

    Love Neowin? Tell a friend!