Jump to content

Recommended Posts

Posted

HI all, i'm trying to write a batch file that does an if statement and loop in the same time.

one of our system sometimes get hosed, so in order to fix it, i need to kill some processes, we have an application that has several processes with the same name, it is called extras.exe, sometimes it has 9 processes, sometimes are 12.

My question is how can i write a batch file that checks for those processes, keeps killing those processes until there is no process anymore, becuase if i tell it to kill 9 processes and there were 10, 1 process will stay there, if i tell it to kill 12 and there were 10, it will freeze up.

thanks for your help


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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