Taskkill script

February 18, 2011 at 04:03:13
Specs: Windows XP
i want to run a taskkill script but i can't get it to work.

I have in a .bat file the following code;

taskkill /f /im programname.exe

i am probably missing somethin very important as this does nothing. Can anyone hel?


See More: Taskkill script

Report •


#1
February 18, 2011 at 04:43:42
What process are you trying to kill?
Due to permissions or other issues some processes cannot be killed by taskkill. I used the command you specified with notepad.exe and it works.

Report •

#2
February 18, 2011 at 06:00:04
Thanks,

i am trying to exit outlook 2007 and sage 2011

both work when typed manually into command prompt but not from a .bat file.


Report •

#3
February 18, 2011 at 22:52:08
johnfoster, suspect you'll get more and more knowledgeable responses in the programming forum @:
http://www.computing.net/forum/prog...
HTH
Ed in Texas


Report •

Related Solutions


Ask Question