Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why can't I delete a directory?
Message
De
12/06/2003 09:44:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/06/2003 09:39:56
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00799289
Message ID:
00799339
Vues:
23
>Hi Cetin,
>
>Thanks for the input. I was confused with the fact WHY it wouldn't delete.
>I assume you solution works just fine, but I need to know who is setting and holding this read-only lock.
>
>Thanks to the TaskInfo tool, I found that there where several dozen filehandles attached to the directory. I found that my zip DLL created them, but never released them.
>
>On every ZipThis function call a new handle emerged, but never got released.
>So with 20 or so handles Windows won't deleted as long as the application is still runnning.
>
>That's my problem and my solution is contacting the DLL creator...
>
>Thanks again

OS is setting the readonly (It is XP, right ?). Just try to create a new directory drag&dropping an RW directory from within explorer. Then check newly created folder's properties.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform