reading How to check if a process is running via a batch script i'll make a simple batch that count how many instance of the same program are running and, in case some instance is missed/close, i'll restart them.
Everything ok but i've got an exception:
Instance of the program could be opened but with an error, so the batch cannot "read" the error and doesn't restar the application.
There's a way i can read information about the windows open? for example: i can read the name of the windows like i see in taskmanager (memo or runtime broker)? example
Any other solution for develop my batch script?
Thanks in advance!
Tried with process explorer and tlist but nothing i can do.