PC Review


Reply
Thread Tools Rate Thread

The directory is not empty

 
 
Bob
Guest
Posts: n/a
 
      19th May 2004
Hi,

I have a few folders on my drive and whenever I try to
delete them I get the message that "Cannot delete <folder
name>: The directory is not empty". If I do delete the
files and subfolders and send them to the recycle bin then
I can't delete these folders and files from the recycle
bin and get the same "The directory is not empty" message;
and I still cannot delete the main parent folder from the
drive.

Has anyone else encountered this problem? Any help is
greatly appreciated.

Thanks,
Bob
 
Reply With Quote
 
 
 
 
R. C. White
Guest
Posts: n/a
 
      20th May 2004
Hi, Bob.

MAYBE this will work. It often does.

Open a "DOS" window. Navigate to the parent of the undeletable folder. Use
the Remove Directory command with the /s switch to delete that folder and
all the subfolders and files within it.
Type: rd <foldername> /s

If that doesn't work, tell us exactly what you did and what results you saw.

RC
--
R. C. White, CPA
San Marcos, TX
(E-Mail Removed)
Microsoft Windows MVP

"Bob" <(E-Mail Removed)> wrote in message
news:f72401c43deb$dde4ba20$(E-Mail Removed)...
> Hi,
>
> I have a few folders on my drive and whenever I try to
> delete them I get the message that "Cannot delete <folder
> name>: The directory is not empty". If I do delete the
> files and subfolders and send them to the recycle bin then
> I can't delete these folders and files from the recycle
> bin and get the same "The directory is not empty" message;
> and I still cannot delete the main parent folder from the
> drive.
>
> Has anyone else encountered this problem? Any help is
> greatly appreciated.
>
> Thanks,
> Bob


 
Reply With Quote
 
Bob
Guest
Posts: n/a
 
      20th May 2004
Hi,

That didn't work either. Here are the results:-

C:\>rd /s 24d3b8a5se
24d3b8a5se, Are you sure (Y/N)? Y
24d3b8a5se\8d6f9423\assembly\dl2\6ef834e6\0043BC~1 - The
directory is not empty.

24d3b8a5se\8d6f9423\assembly\tmp\1BIPW3AH - The directory
is not empty.
24d3b8a5se\8d6f9423\assembly\tmp\CLSZ6DKR - The directory
is not empty.
24d3b8a5se\8d6f9423\assembly\tmp\X8FMT07E - The directory
is not empty.

I can rename the folders; just can't delete them which is
what I need to do.

Thanks for the help,
Bob

>-----Original Message-----
>Hi, Bob.
>
>MAYBE this will work. It often does.
>
>Open a "DOS" window. Navigate to the parent of the

undeletable folder. Use
>the Remove Directory command with the /s switch to

delete that folder and
>all the subfolders and files within it.
>Type: rd <foldername> /s
>
>If that doesn't work, tell us exactly what you did and

what results you saw.
>
>RC
>--
>R. C. White, CPA
>San Marcos, TX
>(E-Mail Removed)
>Microsoft Windows MVP
>
>"Bob" <(E-Mail Removed)> wrote in message
>news:f72401c43deb$dde4ba20$(E-Mail Removed)...
>> Hi,
>>
>> I have a few folders on my drive and whenever I try to
>> delete them I get the message that "Cannot delete

<folder
>> name>: The directory is not empty". If I do delete the
>> files and subfolders and send them to the recycle bin

then
>> I can't delete these folders and files from the recycle
>> bin and get the same "The directory is not empty"

message;
>> and I still cannot delete the main parent folder from

the
>> drive.
>>
>> Has anyone else encountered this problem? Any help is
>> greatly appreciated.
>>
>> Thanks,
>> Bob

>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.Directory.Delete Throws "the directory is not empty" codeboy Microsoft ASP .NET 1 8th Jun 2009 01:08 PM
Mount NTFS to A empty; Unable to Delete a empty directory amontse@gmail.com Windows XP Help 2 9th Mar 2006 01:44 AM
Cannot delete empty directory Ritter197 Windows XP Performance 22 10th Jan 2005 07:09 PM
Remove Directory from Command line, Access is denied, The directory is not empty Dennis W. Bulgrien Windows XP General 1 9th Jul 2004 02:07 AM
Check if directory empty OR no of files in directory. Michael Beckinsale Microsoft Excel Programming 2 4th Dec 2003 10:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:14 AM.