create bat file named : test.bat and add in file this : "
del c:\\example.exe
"
and from c++
System::Diagnostics::Process::Start("c:\\test.bat");
//it wait some sec before gives error so 2nd line should be :
Application::Exit();
i think it should work.. anyway u can test it...