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.

There are three videos that I've downloaded. I moved them to a different folder where I put all my videos, however a copy of the files still show up in my download directory. I tried (in Explorer and CMD) to delete them, move them, rename them, open them but Windows says "Could not find this item." so the file no longer exist in that directoy but it still appears there. How can I remove these from my download folder? I have also tried to replace the file with another by saving over it but instead they sit next to each other side by side and I can delete either one but after that, the other can't be deleted. They also take up no space.

info: I am using Windows 7 and the files were downloaded via Firefox onto an NTFS file system.

share|improve this question
    
Are they still there after a reboot? –  iglvzx Feb 12 '12 at 2:50
    
The Disk Check Required one and I have shut down my computer many times since then. So yes, It is still there after reboot. –  CyberOPS Feb 12 '12 at 3:01
2  
Try using the 8.3 short name for each file when deleting with cmd.exe. –  Amazed Feb 12 '12 at 3:17
2  
Use dir /x to see their 8.3 filename in the command-prompt. –  Synetech Feb 12 '12 at 4:41
1  
Thanks for the tip Synetech! Amazed comment works! I will turn this into an answer. –  CyberOPS Feb 12 '12 at 5:00
show 2 more comments

4 Answers

up vote 5 down vote accepted

I have seen Explorer showing files for a while after they were deleted, so my first guess would be that it was in fact deleted but left behind as a “ghost”.

If however the file is still present after rebooting, then it is not that. Instead, it could have been in use by a program, Explorer, or an anti-virus program. I would suggest trying Unlocker to release/delete it, but again, you said the file was recreated, so it would not be that.

Finally, I am left with only one option: a filename conflict. They are rare (they are not supposed to happen), but certain circumstances (like race-conditions) can lead to them occurring. In this case, the best way to deal with them is the same as when dealing with files with invalid filenames (like those with illegal characters in them or spaces in the DOS days). There are two ways to handle this situation now, both from the command-prompt, so open a command-prompt to the folder containing the files:

  • Use > dir /x  to view the 8.3 format filenames and use that to delete the files in question

or

  • Use wildcards like > del *problem*file* 
share|improve this answer
1  
Such invalid file can be created programmatically by careless using fopen function in conjunction with `\\?` –  Wodzu Jan 9 at 13:30
add comment

Is'nt related to the Windows 7 explorer auto-refresh bug? May be.

Try this fix by Nick on NGPixel web site:

1) Open My Computer and click Organize > Folder and Search Options

2) Under the View tab, uncheck the Hide protected operating system files (recommended) option.

3) On your desktop, you should now see 1 or more Desktop.ini files. Delete all of them (no, it won’t break your system, they are auto-generated).

4) Reboot your computer. Problem solved!

source: http://www.ngpixel.com/2011/05/29/windows-7-fix-the-explorer-not-auto-refreshing-bug/

Hope this help. Let us know. :)

share|improve this answer
    
Nope its not the problem, I will the answer I found tomorrow. I have to wait 8 hours. Thanks for the help though. Others who read this might have the problem you described. –  CyberOPS Feb 12 '12 at 5:16
    
Arg; for months now, I have been having the non-refreshing bug in XP’s Explorer, where filename changes or file creations/deletions are not shown and require an F5 to display. And 7’s Explorer has its own, similar but different bug where .EXE files are in use hang around for a while after being deleted, thus making it impossible for folders to be deleted. It’s so annoying. :roll: (Like some of the comments on the NGPixel page, I too do not have a network drive or desktop.ini. Obviously the problem is more complex than just a single causal factor.) –  Synetech Feb 12 '12 at 5:48
    
I had the same exact problem as @Synetech, but deleting both Desktop.ini did it. Thank you! –  Gaia May 24 '13 at 18:28
add comment

Try deleting the specific folder which contains the specific file into the recycle bin. Then go to the recycle bin and restore the file you just deleted. i hope that works for you.

share|improve this answer
add comment

I had a similar problem, and what worked for me was creating a file with the same name, then deleting the new file.

share|improve this answer
add comment

protected by Community Mar 18 '13 at 2:16

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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