Sign in with
Sign up | Sign in
Your question

Can not delete a direcotory with files inside.

Last response: in Windows Vista
April 10, 2010 6:24:55 PM

a directory is created by a software IDE when I try to import a project to my workspace. however, during to an operational error, a directory is created recursively, and some files are copied into the sub-directories. now i have a directory tree like this:

when i try to delete it using "rd <foldername> /s ", the system complains that the folders are not emply. it is no way to find where are files located in the long chains.

any solutions to delete this folder?

best regards,
April 11, 2010 8:56:12 PM

Try running a chkdsk /r from the command prompt. Start->programs-Accessories->command prompt

When the Command Prompt window opens type CHKDSK /R and press Enter.

After the chkdsk is complete, try deleting the aa folder again and let us know what happens.

April 14, 2010 4:05:02 PM

Thanks for reply, but I would not try this method as I deleted that folder under linux system.

if i encounter this problem again, i will try this method on windows first. :) .

Related resources