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.

I use Windows 7 x64. I have a svn checkout Working folder, say "Working". When I use a batch file or just open CMD, I did

del "%currPath%\Working" /s /f /q
rmdir "%currPath%\Working" /s /q

The folder "Working" is still there, but the size is 0KB. And when I want to enter into this folder, I got an error message like:

Can't access ...\Working.
Permission denied.

This is not a general situation for all chekcout folders. Even for this specific folder "Working", sometimes it works.

If I wait for a while, sometimes 10 minutes, the folder will disappear.

I totally have no idea what may cause this issue.

share|improve this question
2  
I've seen behavior similar to this when a program is holding the file/folder open. For example, download a podcast .mp3 file, open it in Windows Media Player, try to delete it. Still there. Close WMP and suddenly it's gone. SVN shell integration would likely hold the folder open, for example. –  Mark Allen Dec 21 '13 at 8:25
1  
wait for it to be 'locked', then run handle.exe from sysinternals. technet.microsoft.com/en-us/sysinternals/bb896655.aspx -- then taskkill /f /im thatapp.exe –  Knuckle-Dragger Dec 21 '13 at 8:52

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.