briantk wrote:
> Whenever I try to delete some folders I get the following error...
>
> "Cannot delete New Folder. It is being used by another person or
> program. Close any programs that might be using the file and
> try again."
>
> No matter what I do, including rebooting, this always happens on
> these folders. Note, I can delete lots of others without any problems.
>
> I am the owner of these folders & I have administration rights.
> Also, the files are completely empty (including no hidden files).
>
> Does anyone know how to overcome this problem?
Hi briantk,
1. Write down the path for the undeletable folder.
2. Open a command prompt window. (Start > Run > cmd.exe)
3. Open the Task Manager. (Start > Run > taskmgr.exe)
4. In the Task Manager, find the process called "Explorer" and end the
process for explorer. (This will make the desktop and taskbar disappear)
5. Close the Task Manager.
6. In the command prompt window, type:
rd /d "\\?\path\foldername"
So if the folder was called FOLDER123 located in c:\pictures then the
command would look like:
rd /s "\\?\c:\pictures\FOLDER123"
7. To regain your desktop and taskbar, type the following in the
command prompt window:
explorer.exe
-------
You may wish to read this KB article.
You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/?kbid=320081
--
William Crawford
MS-MVP Windows Shell/User