Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a folder with files for the project I work with. I move it from my desktop to laptop and back, almost every day, depending on which machine I use it on at the time. The process of the move is very simple: I ZIP the folder, put it on USB stick, then go to the destination machine, move the old folder into the Recycle bin and paste the new one from the ZIP archive.

But lately when I do the move to the Recycle bin I get the message, "Do you want to permanently delete this folder?" and then "The folder contains items whose names are to long for the Recycle Bin."

I'm not sure what did I do, because that message wasn't shown before?

PS. I prefer to keep old folder in the Recycle bin, just in case I need to undo something later.

share|improve this question
    
Just move the location of the folder. – Ramhound Nov 4 '12 at 0:26
    
recycle bin is a bad place to store backups, why not just use a folder on the desktop for temporary deletions. – Moab Nov 4 '12 at 1:48
    
No, it's not a backup, per se. I do backups of the data. I keep it in Recycle Bin "just in case"... – Den Nov 4 '12 at 2:48
up vote 1 down vote accepted

If you have too many nested folders leading to an extra-long path, you'll get such errors.

You can shorten the names of your folders at each level to prevent this sort of issue.

You can also try renaming the folder to "Foldername_Old" or something instead of deleting it, then copy the new version over.

If you have problems deleting the folder, use the \\.\ alternate syntax as detailed here and here, or the RoboCopy trick detailed here and here.

share|improve this answer

Simple solution that works: Rename the file and the folders to shorten. Then delete. Just did this and it works.

share|improve this answer

You must log in to answer this question.

protected by JakeGould Jul 5 at 0:53

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

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

Not the answer you're looking for? Browse other questions tagged .