Re: Unable to delete a directory
- From: "AJR" <ajrjdr@xxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 15:44:57 -0500
The "read only" attribute is "standatrd" for files - does not cause any
problems. Note the following from a quick Google:
"According to Microsoft, this error indicates that a directory name is
invalid. (See System Error Codes in related links section for more
information). One common cause of this error is the My Documents folder does
not have its default target and may be targeted towards a network folder
that no longer exists. To change this, right click on the My Documents
folder and select Properties. Under the Target tab, select Restore Default.
If you are confident that all directoies are valid, install the latest
version of the MSI Installer (linked below).
Related Links:
Microsoft Developer Network: System Error Codes (0-499)
Microsoft.com: Windows Installer 3.1 for Windows XP"
"MoJo" <mojo.chan@xxxxxxxxx> wrote in message
news:1162143477.050469.157850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
.
- References:
- Unable to delete a directory
- From: mojo . chan
- Re: Unable to delete a directory
- From: MoJo
- Unable to delete a directory
- Prev by Date: Re: disk boot failure
- Next by Date: Re: Third Party Kernel - Q327516
- Previous by thread: Re: Unable to delete a directory
- Next by thread: Re: Unable to delete a directory
- Index(es):