Killing A Program w/o Task Manager

bugger!

boofu.jpg


never really used powershell so I'm not sure what the issue is?

You missed the "%" after the pipe symbol :)
 
it should kill those every time first time in process tab.

Are you clicking on the right one? try killing process tree instead (under right click).

if not you have bigger problems and should think about a reinstall or at least trying to fix the problem.

Tried the process tree, didn't make a difference. It doesn't happen often just annoying when it does.
 
You missed the "%" after the pipe symbol :)

Strangely I thought that too, but when I checked it was in the command, but the error doesn't repeat it for some reason - very curious - the line I used was a straight cut and paste from yours, but it still doesn't work :confused:

As an aside - I tried adding the exit command to the end of the batch file to get rid of the cmd window, but it doesn't work for some reason? When I type exit in the cmd window it closes it properly, but from the batch file it leaves the window open, but doesn't allow you to use it (ie you're no left at the command prompt (c:\) )
 
Last edited:
@aod, Fair enough.

@dl763, Yea I know but I wanted to know if there was a quicker way

@SiriusB, I'm in the Processes tab. It happened a few days ago with MSN and tonight its QuickTimePlayer that wont die.
Tried that PS command as Admin - nothing :(

MSN and Quicktime? If these are unresponding then I'd suggest you have bigger issues at hand.
 
Strangely I thought that too, but when I checked it was in the command, but the error doesn't repeat it for some reason - very curious - the line I used was a straight cut and paste from yours, but it still doesn't work :confused:

As an aside - I tried adding the exit command to the end of the batch file to get rid of the cmd window, but it doesn't work for some reason? When I type exit in the cmd window it closes it properly, but from the batch file it leaves the window open, but doesn't allow you to use it (ie you're no left at the command prompt (c:\) )

Ah, I realise the problem. In a batch script you need to escape certain characters. So % needs to be %%.

I just tested it and confirmed your error, and the double% corrects this. I have updated my previous post just in case anyone else struggles. Good ole Batch :)
 
Back
Top Bottom