>Isn't there a way, perhaps using a Windows API, to exit a program and tell Windows to immediately restart it?
Do you want the program to exit itself and launch another instance or have another program force it to close?
If the program doesn't close (busy, locked up, whatever) how agressive do you want to be to close it? (end task, etc....)