Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Why can I not delete "Python25" folder from my C disk? I have already uninstalled Python from the control panel, but I still can't get rid of this folder. Some message pops up (it's in Chinese so I don't quite understand, but I think it says something like I need to close some application and try again, but all applications are closed.)

It is Python 2.5.4. I am using "Windows XP"

Has anyone here had a similar problem?

share|improve this question
add comment

migrated from stackoverflow.com Sep 8 '10 at 13:17

This question came from our site for professional and enthusiast programmers.

4 Answers

up vote 5 down vote accepted

Some process is still running with an open handle to the folder. (Just because you have no open application windows, it doesn't mean you have no running processes.)

Just reboot the system and try again.

If you really can't or don't want to reboot, use tools such as Process Explorer to detect what process is "using" the folder.

share|improve this answer
    
Thank You, Yes, I rebooted it and was able to deleted it then! –  brilliant Sep 8 '10 at 14:58
add comment

This can also happen when you have a command prompt window open, and you are sitting in that directory.

share|improve this answer
add comment

The Application Unlocker (Windows) allows you to right-click in a file/folder and see which processes are using that file. Once you know, it allows you to unlock said files and folders without needing to restart your computer.

I find it more straightforward that Process Explorer

share|improve this answer
    
...and I find rebooting more straightforward than Unlocker :) –  badp Sep 8 '10 at 13:42
add comment

If rebooting doesn't help, you could try SysInternals MoveFile to schedule it's deletion on the next reboot.

But in this case something is using the files and doing this might cause issues.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.