PC Review


Reply
Thread Tools Rate Thread

Can not delete directory

 
 
Ricardo
Guest
Posts: n/a
 
      22nd Aug 2003
Hi, when i try to delete a directory on an NTFS volume, i
get an error saying that it can not find any files
underneath that directory or that access is denied to it.
I tried cacls and rmdir /s and nothing works. Here is a
sample of the directory listing:

Volume in drive E is Serverside
Volume Serial Number is 30B2-437A

Directory of E:\WebSites\bad2\a\a\b

08/22/2003 03:12p <DIR> .
08/22/2003 03:12p <DIR> ..
04/18/2001 08:29a <DIR> 2
0 File(s) 0 bytes
3 Dir(s) 18,866,536,448 bytes free

Then when i run dir /x i see the following:

Directory of E:\WebSites\bad2\a\a\b

08/22/2003 03:12p <DIR> .
08/22/2003 03:12p <DIR> ..
04/18/2001 08:29a <DIR> 20223~1 2
0 File(s) 0 bytes
3 Dir(s) 18,866,536,448 bytes free

and when i run cacls i get this error:
E:\WebSites\bad2\a\a>cacls b /e /t /g administrator:F /c
processed dir: E:\WebSites\bad2\a\a\b
The system cannot find the file specified.

Does anyone knows how can i get rid of this directory once
and for all? thanks for your help in advance

Ricardo

 
Reply With Quote
 
 
 
 
R. C. White
Guest
Posts: n/a
 
      25th Aug 2003
Hi, Ricardo.

From the "DOS" window, in the E:\WebSites\bad2\a\a\b directory, type:

rd 20223~1 /s

If that doesn't work, tell us what it says.

You might also try, from the E:\WebSites\bad2\a\a directory:

rd b /s

Make sure, of course, that you've moved or otherwise preserved any useful
files and subdirectories in *\a\a\b first.

Caveat: I don't know anything about servers or permissions or cacls. :>(

RC
--
R. C. White, CPA
San Marcos, TX
(E-Mail Removed)
Microsoft Windows MVP

"Ricardo" <(E-Mail Removed)> wrote in message
news:022801c368e9$e57821f0$(E-Mail Removed)...
> Hi, when i try to delete a directory on an NTFS volume, i
> get an error saying that it can not find any files
> underneath that directory or that access is denied to it.
> I tried cacls and rmdir /s and nothing works. Here is a
> sample of the directory listing:
>
> Volume in drive E is Serverside
> Volume Serial Number is 30B2-437A
>
> Directory of E:\WebSites\bad2\a\a\b
>
> 08/22/2003 03:12p <DIR> .
> 08/22/2003 03:12p <DIR> ..
> 04/18/2001 08:29a <DIR> 2
> 0 File(s) 0 bytes
> 3 Dir(s) 18,866,536,448 bytes free
>
> Then when i run dir /x i see the following:
>
> Directory of E:\WebSites\bad2\a\a\b
>
> 08/22/2003 03:12p <DIR> .
> 08/22/2003 03:12p <DIR> ..
> 04/18/2001 08:29a <DIR> 20223~1 2
> 0 File(s) 0 bytes
> 3 Dir(s) 18,866,536,448 bytes free
>
> and when i run cacls i get this error:
> E:\WebSites\bad2\a\a>cacls b /e /t /g administrator:F /c
> processed dir: E:\WebSites\bad2\a\a\b
> The system cannot find the file specified.
>
> Does anyone knows how can i get rid of this directory once
> and for all? thanks for your help in advance
>
> Ricardo



 
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
System.IO.Directory.Delete Throws "the directory is not empty" codeboy Microsoft ASP .NET 1 8th Jun 2009 01:08 PM
Cannot delete a directory. Error message is directory name is invalid erik Microsoft Windows 2000 5 27th May 2004 02:23 PM
HELP cannot delete directory Neil Windows XP General 0 15th Nov 2003 11:20 AM
How to delete a directory with vb.net if the directory contains long paths ? Arjan van den Noort Microsoft VB .NET 0 13th Nov 2003 11:20 AM
Can not delete directory on ftp Stephan Smolar Microsoft Windows 2000 Advanced Server 1 17th Sep 2003 05:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 PM.