How can we close a program automatically when another different program starts?
For example: I've two programs, ProgA and PorgB
Whenever I start ProgA I want to close the ProgB automatically,
and after closing ProgA I want to start ProgB again automatically.
In simple words My ProgB should be running always, but not when ProgA runs.
I know a program which can close a Program Automatically Check this : http://ask-leo.com/d-nircmd
Now, how can I achieve using this or some other method.