Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why can't I delete a directory?
Message
From
12/06/2003 09:44:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/06/2003 09:39:56
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00799289
Message ID:
00799339
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform