2009-05-07, 02:09 AM
(This post was last modified: 2009-05-07, 02:14 AM by KajitiSouls.)
butterfli Wrote:I don't see restarting the computer in the list of things you've tried. It's likely that some thing is still calling upon that file, hence why it's being so anal about getting deleted.
I dunno which error would get thrown first, but it was suppose to be a .png, and the computer even thinks so. It cannot be used in any way that I could find however.
Spaz Wrote:Ideas:
- If the file path contains spaces, make sure you enclose the path in quotes when doing a command-line delete!
- Get the file in a directory all by itself and do a command-line del "c:\directory\*" to delete all files in the directory.
- Try using command-line del but refer to the file by its short name, <first 6 characters of name>~1.<extension>. veryveryverylongfilename.txt -> veryve~1.txt
- Try using command-line del but refer to the file using extended length syntax: del "\\?\C:\directory1\directory2\veryveryveryverylongfilename.txt"
I'm going to take a guess and say the total file path is over 260 characters.
File name does not have any spaces in it. It does have a period near the beginning however. In the Recycle Bin, the file directory isn't over 260 characters.
Um, upon typing this, I decided to clear the Recycle Bin again since I had more scrap data from my programming, and miraculously the damned file actually got deleted. I wanted to try out your suggestions, but then again I didn't want to make another bad file like this one because it was causing me so much trouble. Topic can close I guess.

