Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Labview (a programming language) has this nasty habit of hanging after an error while executing and our programmer always goes to task manager to manually kill it. Now I think as a Super User he should use something "easier" to do this!

So now I want to create a (keyboard) shortcut to kill Labview, any thoughts on the best way to do this?

Note: This is for Windows XP

share|improve this question
We can only assume that you are using windows? – Nippysaurus Sep 30 '09 at 6:44
up vote 4 down vote accepted

This might help.

alt text

To create your own quick-killing mechanism, just create a new shortcut anywhere, using this as the location:

taskkill.exe /f /im labview.exe

Once you are done, you can change the icon, or even assign a shortcut key in the properties dialog—just make sure the shortcut is on your desktop or in the start menu if you want the hotkey to work, since Windows hotkeys don't work in the Quick Launch.

Kudos to Lifehacker and HowToGeek

share|improve this answer
This is nearly what I need, though how do I have to change it to only kill Labview? – Ivo Flipse Sep 30 '09 at 7:12
taskkill.exe /f /im labview.exe – seanyboy Sep 30 '09 at 7:18
Tie this shortcut together with SlickRun and you'll have fast, mouseless access to it as well. ("a free floating command line utility for Windows.") – JMD Sep 30 '09 at 18:40

You can use pskill (in a batch file) to do this.

File KillDodgyApp.bat will be on your desktop and contain the text line:

pskill -t labview.exe

and this can be double clicked to close the dodgy application.

(Alternatively, create a shortcut to pskill.exe with the parameters "-t labview.exe")

share|improve this answer
pskill is treated as virus by many anti-viruses. False positive, of course. – harrymc Sep 30 '09 at 8:04
Auch... Awh well I mainly upvoted sean's answer for providing a useful comment on the other answer – Ivo Flipse Sep 30 '09 at 8:10
Hi guys, I'd just like to remind users of legacy systems like windows XP Home and below that pskill.exe must be downloaded first. Copy and Paste the Pskill.exe file into C:\WINDOWS\system32. – Twilight Sparkle Dec 4 '13 at 17:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .