codice:
//dichiaro la struttura per ospita le informazioni
struct _wffblk {
    long            ff_reserved;
    long            ff_fsize;
    unsigned long   ff_attrib;
    unsigned short  ff_ftime;
    unsigned short  ff_fdate;
    wchar_t         ff_name[256];
};

int main()
{
   struct ffblk file;
   int done;
   done = findfirst("*.*",&file,0);
   if(done==-1) printf("File non trovato");
   else remove(file.ff_name);

   return 0;
}