Another way that I have tried to do the same was :
system("erase c:/user.def"); with not result
After execute the command line, the file is still in the same place !!
> Hi Team :
>
> I do no know the procedure to delete file using CFile ?? or any other way
> (command or procedure) to reach this action.
>
> Thanks in advanced
> I do no know the procedure to delete file using CFile ?? or any other way
> (command or procedure) to reach this action.
CFile::Remove(), DeleteFile(), SHFileOperation(), whatever you like.
Regards,
Will
German - 24 Jun 2005 14:44 GMT
It works fine, and thank you very much William,
German
> > I do no know the procedure to delete file using CFile ?? or any other way
> > (command or procedure) to reach this action.
[quoted text clipped - 3 lines]
> Regards,
> Will