|
Answer» Hello is it possible that DOS can check if an program is running. im working on an error mail (wich runs from a batch file) but now i need DOS to check if the mail SOFTWARE is running or not, if running it must send a mail from that mail adres that is logged in, if not it must send a mail from a preset mail adres.
but howHi, www.sysinternals.com has a commandline program CALLED handle which can gather info about running PROCESSES. ie if you want to check WHETHER 'myproggie.exe' is running then 'handle myproggie' will dump 'myproggie' process information. If no info is DUMPED then the program isn't running. I don't know whether it can be used within batch files.
Derek.
|