process time

J

johny

Hi,

I am in the process of writing a windows batch script to kill a kill a
process (exampleA BCD.exe) which is running on windows 2000/xp and
running more than 30 minutes.


Can some one help me on this?


Thanks!
 
P

Phil Robyn

johny said:
Hi,

I am in the process of writing a windows batch script to kill a kill a
process (exampleA BCD.exe) which is running on windows 2000/xp and
running more than 30 minutes.


Can some one help me on this?


Thanks!

What have you got so far?
 
J

johny

CPU time doesn't match with the *.exe runtime..

the below line i am trying to kill a notepad.exe if it's running more
than 6 minutes. but it didn't work....

taskkill /f /im notepad.exe /fi "CPUTime gt 00:05:59"

Thanks for your help on this..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top