Jump to content

Problems with taskkill


svortevik

Recommended Posts


I'm not familiar with TuneXP or what you are trying to kill, but there are a plethora of ways to do this. You could:

~repackage/hack/recreate the installer so as to remove offensive window entirely (can be a lot of work, doesn't always work)

~make an AutoIt script that waits for the window with a certain title to open, then closes it.

~use start /wait to call the installer. This will only work if the window you want to kill was spawned by the installer, and is not the same process.

~Find/download/use a commandline tool called Wait.exe and wait a set amount of time, then use taskkill (only useful for very simple and fast installers that you can easily estimate the time you need to wait)

~use NirCMD to wait a specified time, then use it to kill the window (you can kill by process name, window title, part of a window title, handle, or even just the "top window"). This has the same restrictions as using Wait.exe, but has the advantage that it doesn't need to open a cmd.exe window of it's own (use nircmdc.exe).

...

AutoIt is the all-in-one solution, but seems "overkill" :P to me for killing the simple things. What you should use really depends on the situation, and whether or not you're willing to look into other options.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...