PC Review


Reply
Thread Tools Rate Thread

Can't delete empty sub-directory

 
 
So'n'so
Guest
Posts: n/a
 
      26th Apr 2004
Using XP Home, I am unable to delete an empty sub-directory. Went to the
DOS command line, but there's no evidence of any files (hidden or
otherwise). Any thoughts on this?


 
Reply With Quote
 
 
 
 
Jupiter Jones [MVP]
Guest
Posts: n/a
 
      26th Apr 2004
What files?

Be careful what you delete.
There are some folders that are often empty but Windows still expects
them as they are system files.
Only delete them if you know EXACTLY what they are and what created
them.

Try in Safe Mode.
Reboot tapping F8 each second.
Select Safe Mode at the menu.

--
Jupiter Jones [MVP]
http://www3.telus.net/dandemar/


"So'n'so" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Using XP Home, I am unable to delete an empty sub-directory. Went

to the
> DOS command line, but there's no evidence of any files (hidden or
> otherwise). Any thoughts on this?
>
>



 
Reply With Quote
 
Peter Boyles
Guest
Posts: n/a
 
      27th Apr 2004
Windows XP carried forward a bug from Windows NT in which Windows will
maintain a "phantom" file open within a directory. This is most notable on
floppy disks.

Things to double check:
You do not have an explorer window open in the directory or a subdirectory
of that directory
You do not have a command prompt open rooted in the directory

How to clear to "phantom" open file
- open a command prompt
- change to the directory (drive) that has the issue
- perform a directory listing - DIR [enter]
- change to a different directory (drive)
- perform a directory listing - DIR [enter]
- this causes the open file table to update (usually)
- in the commond prompt, delete the directory

Best command to zap a directory RD /S <directory>. Use sparingly as
directories and files deleted will not appear in the recycle bin.

For stubborn instances, reboot.

If you just have to know what is causing the issue, you can obtain a utility
to determine open file handles and the files that are open.


"So'n'so" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Using XP Home, I am unable to delete an empty sub-directory. Went to the
> DOS command line, but there's no evidence of any files (hidden or
> otherwise). Any thoughts on this?
>
>



 
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
Directory.Delete of a non empty dir fails in ASP.NET application =?Utf-8?B?T2xpdmllciBHSUw=?= Microsoft ASP .NET 5 10th Nov 2006 02:11 AM
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
Cannot delete empty directory Ritter197 Windows XP Help 23 10th Jan 2005 07:09 PM
Can't Delete Empty Directory until Log off / Log On Geoffrey Hacker Windows XP Basics 3 7th Jan 2004 12:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.