PDA

View Full Version : Can't delete folder, limits on NT directory handling


jf1288
01-18-2006, 09:11 PM
I finished a download, and I see that inside of it there is a folder. I'm confused as to whats in it, so i open it. Its another folder with the same name as the first. Open that, another one. Another. Another and another. Then there's one more, but I can't open it. It just doesn't do anything when I click.

If I try to delete the first one, i get an error telling me the folder contains items too large for the recycle bin, permanently delete? Yes, I say. Then I get an error:

Error Deleteing File or Folder
Cannot delete FLIPPE~1: The file name you specified is not valid or too long. Specify a different file name.

Then I try to do a shift->Delete to skip the recycle bin step, and I get a small error box that says "Cannot delete file: " (With the ':')

Seeing that I was caught in a bug in windows, I tried a few other methods. I created a PHP script that uses the unlink function to delete it (I run apache on my machine) but I get a Permission Denied error, even when I CHMOD it to 0777 (The code for removing all permission controls on a file or folder).

That didn't work.

I also made a batch file and tried both RD ('remove directory') and DEL to remove the folder. No luck.



How can I get rid of this damn thing?

drdeutsch
01-18-2006, 09:21 PM
Hmmmm, boot into a linux live cd and delete there?

http://www.hardfolding.com/ftag1.php/mem/8523.png (http://www.hardfolding.com?go=38&id=8523)

Eva_Unit_0
01-18-2006, 09:34 PM
Hmmmm, boot into a linux live cd and delete there?

http://www.hardfolding.com/ftag1.php/mem/8523.png (http://www.hardfolding.com?go=38&id=8523)

that's not gonna work if it's NTFS which it most likely is. Have you tried booting off the windows installation disk, going to the recovery console, and deleting it there? That may work.

mashie
01-19-2006, 07:03 AM
Try and delete it from the command prompt, worked for me once when I had a very similar issue.

jf1288
01-19-2006, 07:51 AM
Can't delete in command prompt ill try linux

Alvein
01-19-2006, 04:32 PM
http://support.microsoft.com/?kbid=320081

unhappy_mage
01-19-2006, 06:04 PM
Try chkdsk *first*: it sounds like a corrupt volume.

http://www.hardfolding.com/ftag1.php/mem/150072 (http://www.hardfolding.com?go=38&id=150072&tm=33)http://www.hardfolding.com/utag.php/mem/1392.png (http://www.hardfolding.com?go=36&id=1392)

jf1288
01-20-2006, 07:42 AM
http://support.microsoft.com/?kbid=320081


Cause 4: Files exist in paths that are deeper than MAX_PATH characters
You may not be able to open, edit, or delete a file if there are issues with the file path.

There we go.