Re: Unable to delete a directory
- From: nass <nass@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 10:17:01 -0800
"MoJo" wrote:
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
Hi Paul,
I think your Directory is encrypted for that reason you can't change the
Attrib.
Read this it may help you unlock the puzzle:
http://support.microsoft.com/kb/308993
Another to try is the Deltree command in Dos Command:
Deletes a directory and all the subdirectories and files in it.
To delete one or more files and directories: DELTREE [/Y] [drive:]path
[[drive:]path[...]]
/Y Suppresses prompting to confirm you want to delete the subdirectory.
[drive:]path Specifies the name of the directory you want to delete.
Note: Use DELTREE cautiously. Every file and subdirectory within the
specified directory will be deleted. Once deleted, you cannot recover the
information.
EXAMPLE
deltree E:\mojo\...\871 = Deletes the mojo directory and everything in it.
HTH.
Regards,
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: Searching (small) AES file + directory tree encryption tool
- Previous by thread: Re: Unable to delete a directory
- Next by thread: Re: Unable to delete a directory
- Index(es):
Relevant Pages
|
Loading