Re: Unable to delete a directory



Thanks for the responses. Lets see if we can get to the bottom of this.

I already tried various "move on restart" utilties, including KillBox,
but to no avail.

When I try to remove the "Read-Only" attribute, I get a message from
Explorer saying

An error occoured applying attributes to the file
e:\mojo\...\871
Acess is denied.

I get a similar message when using the command prompt. I also tried the
utility nass linked to, but it didn't work.

Because I have a crappy OEM copy of Windows, I can't call Microsoft and
my OEM has no clue. I'm a computer technician anyway, and it seems I
know more than they do.

I should also mention that I can't access the directory or store files
in it. I get the "name is invalid" message when I try to do so.

Regards,
Paul

nass wrote:
"mojo.chan@xxxxxxxxx" wrote:

I cannot delete a directory on one of my hard drives. The directory has
the name "871", but I can rename it. However, when I try to delete it
from Explorer, I get "The directory name is invalid. (267)".

I cannot delete it from a command prompt or using and third party tool.
I cannot set permissions either - trying to do so causes the explorer
window to hang. I cannot change owner either (currently
BUILTIN\Administrators). ChkDsk reports my drive is OK. Hardware tests
show my system is OK. The directory has a strange icon - a normal
looking folder with a tiny clock next to it:

http://img93.imageshack.us/img93/3417/folderim5.png

There are no strange characters in the path or anything like that. 8.3
file name is also "871". File system is NTFS. All Windows updates, up
to date drivers.

I would put the drive in another machine and try deleting the folder,
but it is part of a RAID array so it is not possible at the moment.

Anyone got any ideas? Short of a re-format, I can't see any solution.

Yes you can't becuase it's Attrib is *Read Only* Uncheck this Box then
Reboot and try to delete.
Another is to take the ownership of this directory:
http://support.microsoft.com/kb/308421

If still no joy, try to download this Utility and Delete the Directory:
http://www.purgeie.com/delinv/index.htm
If still please write back with more info about what you did crossed for us
to know what we are dealing with.
HTH.
Please report back your result.
Regs,
nass
----------------
www.nasstec.co.uk

.



Relevant Pages

  • Re: How reduce number items listed start menu
    ... is Explorer the only way, ... If you create a folder in the All Users\Start Menu with the same name as one ... Create and Configure User Accounts in Windows XP ... application, Disk copier, etc.) You'll be glad to know that if you have ...
    (microsoft.public.windowsxp.basics)
  • RE: IE Explorer error when viewing jpg
    ... "nass" wrote: ... Explorer begins to open the folder then shuts down with the message explorer ... Possible Virus Infection (I'm running McAfee and a scan of the drive did not ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: renaming file
    ... Once you get the correct file path from that dialog, ... You can also use Windows Find or Search ... > You are confusing Internet Explorer and Windows Explorer. ... > When you have it running, select its Tools> Folder Options> View ...
    (microsoft.public.word.newusers)
  • RE: Windows Explorer Media File Performance
    ... crash because each one of the player is trying to make the preview. ... Windows Explorer crash opening a folder with thumbnail view. ...
    (microsoft.public.windowsxp.general)
  • Re: Desktop Explorer poops out.
    ... I've had this problem on several versions of Windows, Win 2000 for sure, ... Each folder opens in a new window, and I drag icons around, etc. ... Problem is, after a while, opening and closing windows and all, Explorer ... Specifies that each folder is opened in a separate part of memory. ...
    (microsoft.public.windowsxp.basics)