PC Review


Reply
Thread Tools Rate Thread

Cannot remove folder the directory is not empty

 
 
Rory Jakes
Guest
Posts: n/a
 
      30th Oct 2004
I have tried to delete (remove) 3 empty folders from my SanDisk flash
memory disk to no avail. I have used cmd.exe and tried rd and rmdir
with /s and /q switches - did not work. I can create or delete other
directories, but not these 3. I can rename them. I can move them to to
other locations. But I CANNOT remove them. I have tried a couple
shareware programs and those did not work. I can right-click and
select properties. There are no files in any of the folders. One
folder is a sub-folder of another folder. I cannot remove either one.
A third folder is by itself. Can't remove him either.

Thank you,
Rory Jakes
(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Bill James
Guest
Posts: n/a
 
      30th Oct 2004
Why not just format and be done with them?

--

Bill James
Microsoft MVP - Shell/User

Windows VBScript Utilities » www.billsway.com/vbspage/
Windows Tweaks & Tips » www.billsway.com/notes_public/

"Rory Jakes" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>I have tried to delete (remove) 3 empty folders from my SanDisk flash
> memory disk to no avail. I have used cmd.exe and tried rd and rmdir
> with /s and /q switches - did not work. I can create or delete other
> directories, but not these 3. I can rename them. I can move them to to
> other locations. But I CANNOT remove them. I have tried a couple
> shareware programs and those did not work. I can right-click and
> select properties. There are no files in any of the folders. One
> folder is a sub-folder of another folder. I cannot remove either one.
> A third folder is by itself. Can't remove him either.
>
> Thank you,
> Rory Jakes
> (E-Mail Removed)

 
Reply With Quote
 
 
 
 
Rory Jakes
Guest
Posts: n/a
 
      30th Oct 2004
"Bill James" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Why not just format and be done with them?
>
> --
>
> Bill James
> Microsoft MVP - Shell/User
>
> Windows VBScript Utilities www.billsway.com/vbspage/
> Windows Tweaks & Tips www.billsway.com/notes public/
>
> "Rory Jakes" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I have tried to delete (remove) 3 empty folders from my SanDisk flash
> > memory disk to no avail. I have used cmd.exe and tried rd and rmdir
> > with /s and /q switches - did not work. I can create or delete other
> > directories, but not these 3. I can rename them. I can move them to to
> > other locations. But I CANNOT remove them. I have tried a couple
> > shareware programs and those did not work. I can right-click and
> > select properties. There are no files in any of the folders. One
> > folder is a sub-folder of another folder. I cannot remove either one.
> > A third folder is by itself. Can't remove him either.
> >
> > Thank you,
> > Rory Jakes
> > (E-Mail Removed)


I tried the two web sites:

www.billsway.com/vbspage/ - Script deleted temp files on my hard
drive, but this is not what I need. I need to remove 3 directories
from my SanDisk flash drive.

www.billsway.com/notes public/ - I get a "The page cannot be found"

Please help.

Rory Jakes
(E-Mail Removed)
 
Reply With Quote
 
Rock
Guest
Posts: n/a
 
      30th Oct 2004
Rory Jakes wrote:

> "Bill James" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
>
>>Why not just format and be done with them?
>>
>>--
>>
>>Bill James
>>Microsoft MVP - Shell/User
>>
>>Windows VBScript Utilities www.billsway.com/vbspage/
>>Windows Tweaks & Tips www.billsway.com/notes public/
>>
>>"Rory Jakes" <(E-Mail Removed)> wrote in message
>>news:(E-Mail Removed)...
>>
>>>I have tried to delete (remove) 3 empty folders from my SanDisk flash
>>>memory disk to no avail. I have used cmd.exe and tried rd and rmdir
>>>with /s and /q switches - did not work. I can create or delete other
>>>directories, but not these 3. I can rename them. I can move them to to
>>>other locations. But I CANNOT remove them. I have tried a couple
>>>shareware programs and those did not work. I can right-click and
>>>select properties. There are no files in any of the folders. One
>>>folder is a sub-folder of another folder. I cannot remove either one.
>>>A third folder is by itself. Can't remove him either.
>>>
>>>Thank you,
>>>Rory Jakes
>>>(E-Mail Removed)

>
>
> I tried the two web sites:
>
> www.billsway.com/vbspage/ - Script deleted temp files on my hard
> drive, but this is not what I need. I need to remove 3 directories
> from my SanDisk flash drive.
>
> www.billsway.com/notes public/ - I get a "The page cannot be found"
>
> Please help.
>
> Rory Jakes
> (E-Mail Removed)


As Bill James said, just reformat the drive.

 
Reply With Quote
 
Rory Jakes
Guest
Posts: n/a
 
      30th Oct 2004
"Bill James" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Why not just format and be done with them?
>
> --
>
> Bill James
> Microsoft MVP - Shell/User
>
> Windows VBScript Utilities www.billsway.com/vbspage/
> Windows Tweaks & Tips www.billsway.com/notes public/
>
> "Rory Jakes" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I have tried to delete (remove) 3 empty folders from my SanDisk flash
> > memory disk to no avail. I have used cmd.exe and tried rd and rmdir
> > with /s and /q switches - did not work. I can create or delete other
> > directories, but not these 3. I can rename them. I can move them to to
> > other locations. But I CANNOT remove them. I have tried a couple
> > shareware programs and those did not work. I can right-click and
> > select properties. There are no files in any of the folders. One
> > folder is a sub-folder of another folder. I cannot remove either one.
> > A third folder is by itself. Can't remove him either.
> >
> > Thank you,
> > Rory Jakes
> > (E-Mail Removed)


I found the solution! I went to support.microsoft.com at following:
http://support.microsoft.com/default...b;en-us;320081

I read everything carefully and tried the following:

1. I moved all the bad directories under one main directory (called
Unable_To_Delete).

2. Navigated to a DOS prompt Start-Run-cmd.

3. I ran chkdsk. The /f switch (fixes) and the /v is verbose and
prints everything to screen.

4. From a cmd prompt I typed: chkdsk <drive name> /f /v

5. I removed the Unable_To_Delete folder and all corrupted folders as
follows: rmdir <dir name> /s /q

It worked! Hope I can help someone else here!

Rory Jakes
(E-Mail Removed)
 
Reply With Quote
 
Bill James
Guest
Posts: n/a
 
      30th Oct 2004
How could that KB article could possible have anything to do with folders on your flash drive? The article is "You cannot delete a file or a folder on an NTFS file system volume", and AFAIK in is not possible to have a NTSF file system on a flash drive.

--

Bill James
Microsoft MVP - Shell/User

Windows VBScript Utilities » www.billsway.com/vbspage/
Windows Tweaks & Tips » www.billsway.com/notes_public/

"Rory Jakes" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> "Bill James" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
>> Why not just format and be done with them?
>>
>> --
>>
>> Bill James
>> Microsoft MVP - Shell/User
>>
>> Windows VBScript Utilities www.billsway.com/vbspage/
>> Windows Tweaks & Tips www.billsway.com/notes public/
>>
>> "Rory Jakes" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> >I have tried to delete (remove) 3 empty folders from my SanDisk flash
>> > memory disk to no avail. I have used cmd.exe and tried rd and rmdir
>> > with /s and /q switches - did not work. I can create or delete other
>> > directories, but not these 3. I can rename them. I can move them to to
>> > other locations. But I CANNOT remove them. I have tried a couple
>> > shareware programs and those did not work. I can right-click and
>> > select properties. There are no files in any of the folders. One
>> > folder is a sub-folder of another folder. I cannot remove either one.
>> > A third folder is by itself. Can't remove him either.
>> >
>> > Thank you,
>> > Rory Jakes
>> > (E-Mail Removed)

>
> I found the solution! I went to support.microsoft.com at following:
> http://support.microsoft.com/default...b;en-us;320081
>
> I read everything carefully and tried the following:
>
> 1. I moved all the bad directories under one main directory (called
> Unable_To_Delete).
>
> 2. Navigated to a DOS prompt Start-Run-cmd.
>
> 3. I ran chkdsk. The /f switch (fixes) and the /v is verbose and
> prints everything to screen.
>
> 4. From a cmd prompt I typed: chkdsk <drive name> /f /v
>
> 5. I removed the Unable_To_Delete folder and all corrupted folders as
> follows: rmdir <dir name> /s /q
>
> It worked! Hope I can help someone else here!
>
> Rory Jakes
> (E-Mail Removed)

 
Reply With Quote
 
Bill James
Guest
Posts: n/a
 
      30th Oct 2004
You seem to not understand that any links provided in a signature block have nothing to do with the specific question -- it's a preset signature that is appended to every post.

Did you not understand about formatting the flash drive?

--

Bill James
Microsoft MVP - Shell/User

Windows VBScript Utilities » www.billsway.com/vbspage/
Windows Tweaks & Tips » www.billsway.com/notes_public/

"Rory Jakes" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> "Bill James" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
>> Why not just format and be done with them?
>>
>> --
>>
>> Bill James
>> Microsoft MVP - Shell/User
>>
>> Windows VBScript Utilities www.billsway.com/vbspage/
>> Windows Tweaks & Tips www.billsway.com/notes public/
>>
>> "Rory Jakes" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> >I have tried to delete (remove) 3 empty folders from my SanDisk flash
>> > memory disk to no avail. I have used cmd.exe and tried rd and rmdir
>> > with /s and /q switches - did not work. I can create or delete other
>> > directories, but not these 3. I can rename them. I can move them to to
>> > other locations. But I CANNOT remove them. I have tried a couple
>> > shareware programs and those did not work. I can right-click and
>> > select properties. There are no files in any of the folders. One
>> > folder is a sub-folder of another folder. I cannot remove either one.
>> > A third folder is by itself. Can't remove him either.
>> >
>> > Thank you,
>> > Rory Jakes
>> > (E-Mail Removed)

>
> I tried the two web sites:
>
> www.billsway.com/vbspage/ - Script deleted temp files on my hard
> drive, but this is not what I need. I need to remove 3 directories
> from my SanDisk flash drive.
>
> www.billsway.com/notes public/ - I get a "The page cannot be found"
>
> Please help.
>
> Rory Jakes
> (E-Mail Removed)

 
Reply With Quote
 
New Member
CanadaHelpdesk's Avatar
Join Date: Jul 2006
Posts: 1
 
      18th Jul 2006
First off Thanks Rory for posting the KB article you found, so many times people find solutions and then never post them, forgetting that with windows, if one person has an issue usually a million do. That solution works great for the directory not empty error on any disk in windows XP, apparently Bill refused to get off his "format the disk!" solution.

Secondly, Bill, do YOU NOT UNDERSTAND that some people may be new to forums, and when they see a link in someones reply they think that might be a suggested website to go to.. and also, you might want to take a look at that Oh-so-obvious signature of yours... the link for your xp tweaks site stops after the notes, so the "_public" doesnt have the a_href around it. There is no need for you to be a jerk, obviously Rory didn't want to format the disk.
 
Reply With Quote
 
New Member
Join Date: Mar 2012
Posts: 1
 
      14th Mar 2012
http://longpathtool.com/
 
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
cannot remove folder the directory is not empty =?Utf-8?B?bmlyZW1hbg==?= Windows XP Help 1 15th Apr 2010 12:56 AM
Cannot remove folder <folder name> the directory is not empty. Hardik Shah Windows XP General 2 11th Sep 2009 02:24 PM
cannot remove folder the directory is not empty =?Utf-8?B?bmlyZW1hbg==?= Windows XP Help 1 10th Mar 2007 11:36 AM
Cannot delete folder "directory is not empty" =?Utf-8?B?Sm9zaWVIQzIx?= Windows XP General 1 25th Jun 2005 01:06 AM
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


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:33 PM.