My program starts several applications.
Some of them are DOS programs and some are windows.
When my program closes, I want to make sure that all the applications it started are closed.
How can I close them all?
Looking for a method to close both DOS and Windows Applications.
Please give example.