[QUOTE=Rasool Ahmed]what you mean?
is this a script or something?!!!!!:-O[/QUOTE]

It is a Windows API function. It can be used to delete files upon next system startup - which is what you basically seem to be wanting. So, possibly it may be of help to you - though this depends on what exactly your anti-virus thingy is.

commented: do you have some examples? +0

When [ICODE]cin[/ICODE] encounters Ctrl-Z, [ICODE]cin.eof()[/ICODE] will return true. So e.g.
[code]
if(cin.eof())
{
cout << "bye ...";
return 0;
}
[/code]