|
#1
|
|||
|
|||
|
In attempting to remove an empty deleted folder from the recycle bin, I got
this message: "Cannot delete [FolderName]: directory is not empty." I restored the folder, and now I cannot even get it back to the recycle bin by deleting it. I can, however, rename and move it, and get it to the recycle bin by placing another folder inside it and then deleting it. But...when I try to empty the recycle bin, I get almost the same message: "Cannot delete Dc1: directory is not empty." The folder shows a size of 0 bytes. I have also tried deleting it from the command prompt, and it just gives me the "Directory is not empty" message. |
|
#2
|
|||
|
|||
|
Hi
Try this: Go to a Command Prompt and change to that folder. Then run the following command: dir /a/s Do you see any files in the folder then? -- Will Denny MS MVP Windows Shell/User Please reply to the News Groups "Brian" <Brian@discussions.microsoft.com> wrote in message news:9481AC49-045A-4C21-8B8C-B8458034E86B@microsoft.com... > In attempting to remove an empty deleted folder from the recycle bin, I > got > this message: "Cannot delete [FolderName]: directory is not empty." > > I restored the folder, and now I cannot even get it back to the recycle > bin > by deleting it. I can, however, rename and move it, and get it to the > recycle > bin by placing another folder inside it and then deleting it. But...when I > try to empty the recycle bin, I get almost the same message: "Cannot > delete > Dc1: directory is not empty." > > The folder shows a size of 0 bytes. I have also tried deleting it from the > command prompt, and it just gives me the "Directory is not empty" message. |
|
#3
|
|||
|
|||
|
Already tried it. Nothing there.
"Will Denny" wrote: > Hi > > Try this: > > Go to a Command Prompt and change to that folder. Then run the following > command: > > dir /a/s > > Do you see any files in the folder then? > > -- > > > Will Denny > MS MVP Windows Shell/User > Please reply to the News Groups > > "Brian" <Brian@discussions.microsoft.com> wrote in message > news:9481AC49-045A-4C21-8B8C-B8458034E86B@microsoft.com... > > In attempting to remove an empty deleted folder from the recycle bin, I > > got > > this message: "Cannot delete [FolderName]: directory is not empty." > > > > I restored the folder, and now I cannot even get it back to the recycle > > bin > > by deleting it. I can, however, rename and move it, and get it to the > > recycle > > bin by placing another folder inside it and then deleting it. But...when I > > try to empty the recycle bin, I get almost the same message: "Cannot > > delete > > Dc1: directory is not empty." > > > > The folder shows a size of 0 bytes. I have also tried deleting it from the > > command prompt, and it just gives me the "Directory is not empty" message. > > > |
|
#4
|
|||
|
|||
|
Hi
Have you cleared any attributes that are attached to the folder and then tried to delete it? -- Will Denny MS MVP Windows Shell/User Please reply to the News Groups "Brian" <Brian@discussions.microsoft.com> wrote in message news:4449B319-3CDE-4D64-9169-54E0EBB66612@microsoft.com... > Already tried it. Nothing there. > > "Will Denny" wrote: > >> Hi >> >> Try this: >> >> Go to a Command Prompt and change to that folder. Then run the following >> command: >> >> dir /a/s >> >> Do you see any files in the folder then? >> >> -- >> >> >> Will Denny >> MS MVP Windows Shell/User >> Please reply to the News Groups >> >> "Brian" <Brian@discussions.microsoft.com> wrote in message >> news:9481AC49-045A-4C21-8B8C-B8458034E86B@microsoft.com... >> > In attempting to remove an empty deleted folder from the recycle bin, I >> > got >> > this message: "Cannot delete [FolderName]: directory is not empty." >> > >> > I restored the folder, and now I cannot even get it back to the recycle >> > bin >> > by deleting it. I can, however, rename and move it, and get it to the >> > recycle >> > bin by placing another folder inside it and then deleting it. >> > But...when I >> > try to empty the recycle bin, I get almost the same message: "Cannot >> > delete >> > Dc1: directory is not empty." >> > >> > The folder shows a size of 0 bytes. I have also tried deleting it from >> > the >> > command prompt, and it just gives me the "Directory is not empty" >> > message. >> >> >> |
|
#5
|
|||
|
|||
|
I tried this to no avail: attrib -h -r [foldername] /s
Interestingly, I moved the bad folder to a shared folder & connected via the network, and I now see two files in there: tcptest.exe (33K) and wbemtest.exe (154K) . Maybe something left over from a trojan/virus-removal? When I copy the folder, it copies without these two files. When I copy an empty folder of the same name over this folder, it appears to work, but the two files are left there (I can still see them only across the network). I cannot copy the folder across the network, though. "Will Denny" wrote: > Hi > > Have you cleared any attributes that are attached to the folder and then > tried to delete it? > > -- > > > Will Denny > MS MVP Windows Shell/User > Please reply to the News Groups > > "Brian" <Brian@discussions.microsoft.com> wrote in message > news:4449B319-3CDE-4D64-9169-54E0EBB66612@microsoft.com... > > Already tried it. Nothing there. > > > > "Will Denny" wrote: > > > >> Hi > >> > >> Try this: > >> > >> Go to a Command Prompt and change to that folder. Then run the following > >> command: > >> > >> dir /a/s > >> > >> Do you see any files in the folder then? > >> > >> -- > >> > >> > >> Will Denny > >> MS MVP Windows Shell/User > >> Please reply to the News Groups > >> > >> "Brian" <Brian@discussions.microsoft.com> wrote in message > >> news:9481AC49-045A-4C21-8B8C-B8458034E86B@microsoft.com... > >> > In attempting to remove an empty deleted folder from the recycle bin, I > >> > got > >> > this message: "Cannot delete [FolderName]: directory is not empty." > >> > > >> > I restored the folder, and now I cannot even get it back to the recycle > >> > bin > >> > by deleting it. I can, however, rename and move it, and get it to the > >> > recycle > >> > bin by placing another folder inside it and then deleting it. > >> > But...when I > >> > try to empty the recycle bin, I get almost the same message: "Cannot > >> > delete > >> > Dc1: directory is not empty." > >> > > >> > The folder shows a size of 0 bytes. I have also tried deleting it from > >> > the > >> > command prompt, and it just gives me the "Directory is not empty" > >> > message. > >> > >> > >> > > > |
|
#6
|
|||
|
|||
|
Also, when I try to compress the folder (just another thing I tried in the
process), Windows tells me it cannot be done because the folder is empty. "Will Denny" wrote: > Hi > > Have you cleared any attributes that are attached to the folder and then > tried to delete it? > > -- > > > Will Denny > MS MVP Windows Shell/User > Please reply to the News Groups > > "Brian" <Brian@discussions.microsoft.com> wrote in message > news:4449B319-3CDE-4D64-9169-54E0EBB66612@microsoft.com... > > Already tried it. Nothing there. > > > > "Will Denny" wrote: > > > >> Hi > >> > >> Try this: > >> > >> Go to a Command Prompt and change to that folder. Then run the following > >> command: > >> > >> dir /a/s > >> > >> Do you see any files in the folder then? > >> > >> -- > >> > >> > >> Will Denny > >> MS MVP Windows Shell/User > >> Please reply to the News Groups > >> > >> "Brian" <Brian@discussions.microsoft.com> wrote in message > >> news:9481AC49-045A-4C21-8B8C-B8458034E86B@microsoft.com... > >> > In attempting to remove an empty deleted folder from the recycle bin, I > >> > got > >> > this message: "Cannot delete [FolderName]: directory is not empty." > >> > > >> > I restored the folder, and now I cannot even get it back to the recycle > >> > bin > >> > by deleting it. I can, however, rename and move it, and get it to the > >> > recycle > >> > bin by placing another folder inside it and then deleting it. > >> > But...when I > >> > try to empty the recycle bin, I get almost the same message: "Cannot > >> > delete > >> > Dc1: directory is not empty." > >> > > >> > The folder shows a size of 0 bytes. I have also tried deleting it from > >> > the > >> > command prompt, and it just gives me the "Directory is not empty" > >> > message. > >> > >> > >> > > > |
|
#7
|
|||
|
|||
|
I found a solution - on a whim. I created a new user profile, logged on as
that user, and moved the folder to that user's Docs folder. Both files now appeared in the folder and were able to be deleted, along with the folder. I don't know what happened, but I guess all's well that ends well. Thanks. "Will Denny" wrote: > Hi > > Have you cleared any attributes that are attached to the folder and then > tried to delete it? > > -- > > > Will Denny > MS MVP Windows Shell/User > Please reply to the News Groups > > "Brian" <Brian@discussions.microsoft.com> wrote in message > news:4449B319-3CDE-4D64-9169-54E0EBB66612@microsoft.com... > > Already tried it. Nothing there. > > > > "Will Denny" wrote: > > > >> Hi > >> > >> Try this: > >> > >> Go to a Command Prompt and change to that folder. Then run the following > >> command: > >> > >> dir /a/s > >> > >> Do you see any files in the folder then? > >> > >> -- > >> > >> > >> Will Denny > >> MS MVP Windows Shell/User > >> Please reply to the News Groups > >> > >> "Brian" <Brian@discussions.microsoft.com> wrote in message > >> news:9481AC49-045A-4C21-8B8C-B8458034E86B@microsoft.com... > >> > In attempting to remove an empty deleted folder from the recycle bin, I > >> > got > >> > this message: "Cannot delete [FolderName]: directory is not empty." > >> > > >> > I restored the folder, and now I cannot even get it back to the recycle > >> > bin > >> > by deleting it. I can, however, rename and move it, and get it to the > >> > recycle > >> > bin by placing another folder inside it and then deleting it. > >> > But...when I > >> > try to empty the recycle bin, I get almost the same message: "Cannot > >> > delete > >> > Dc1: directory is not empty." > >> > > >> > The folder shows a size of 0 bytes. I have also tried deleting it from > >> > the > >> > command prompt, and it just gives me the "Directory is not empty" > >> > message. > >> > >> > >> > > > |
|
#8
|
|||
|
|||
|
On Sat, 31 Dec 2005 10:00:01 -0800, Brian wrote:
> Interestingly, I moved the bad folder to a shared folder & connected via the > network, and I now see two files in there: tcptest.exe (33K) and wbemtest.exe > (154K) . Maybe something left over from a trojan/virus-removal? I tried to search for the filenames and found this: http://forums.techguy.org/security/3...dows-help.html Try to scan and clean your system with a virusscanner and a spyware cleaner: Spybot S&D: http://www.safer-networking.org/en/download/ AVG Free: http://free.grisoft.com/ Lavasoft ADaware: http://www.lavasoftusa.com/software/adaware/ |
|
#9
|
|||
|
|||
|
=?Utf-8?B?QnJpYW4=?= wrote:
> > In attempting to remove an empty deleted folder from the recycle bin, I got > this message: "Cannot delete [FolderName]: directory is not empty." First step. Disable nortons protected recycle bin or anything nortons you have installed. http://www.bootdisk.com/xptop20.htm#8 -- http://www.bootdisk.com/ |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keeping backup of my pictures in my order | Gladys222 | Windows XP Photos | 10 | 01-05-2006 07:08 AM |
| Re: where is ythe toggle for mainataing settings between sessions? | craig | Windows XP Customize | 0 | 01-05-2006 06:33 AM |
| CANNOT DELETE FOLDER | Yasmin | Windows XP Security Admin | 1 | 01-05-2006 04:23 AM |
| One-way connection: networked XP/2000 PC's | Cheryl | Windows XP Network Web | 22 | 01-05-2006 04:11 AM |
| Folder View | Donaldo | Windows XP General | 3 | 01-05-2006 02:35 AM |