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.

This happens to me in Windows Explorer: I mean to open a folder and manage to move the mouse and accidentally drag the whole folder ... somewhere. Usually I notice, but not always (in which case I know I'm out of luck). If I notice that it has been dropped into another folder, but don't know exactly where, is there anyway to undo what I just did?

I don't always even notice the folder being grabbed, which makes it more interesting to find where it was dropped. I just noticed that something happened, and I'd like to undo it, because I suspect that one folder was dropped into another.

share|improve this question

5 Answers 5

up vote 21 down vote accepted

Short Answer

To undo a file/folder operation in Windows, you can use either the Undo command in the Edit menu, or press Ctrl+Z.


NB: There are a few things to note however. While the undo command usually undoes the last file operation, it will not always be the operation you are expecting. Sometimes the last operation does not make it into the undo buffer, making it undo a different operation from what you were expecting. For example, if there are multiple file operations happening at the same time, they are added to the undo buffer in they order that they complete, not the order in which they were initiated. Also, some operations cannot be undone like permanent deletions, those from the command-line, etc.


Instead of using Ctrl+Z, it is safer to use the menu command because you can see what operation Windows will undo before performing it. (Granted, you can redo the operation with Ctrl+Y, but it is easier and safer to just confirm before undoing.) Enable the status bar (View->Status bar), then when you hover the cursor over the Undo command, it will display the operation to be undone.

Screenshot of Windows Explorer with undo command results shown in status bar

share|improve this answer
A wild *.gif appears! How are my screenshots supposed to compete with this now? :P –  iglvzx Feb 13 '12 at 19:33
I find a (properly timed) animated GIF works better than numerous individual pics. –  Synetech Feb 13 '12 at 19:36
@Synetech SuperUSer will never be the same from now on, what gif software do you use? –  Moab Feb 13 '12 at 20:12
+1 for gif and better explantion, even though its a bit late to the party. –  Moab Feb 13 '12 at 20:13
"Has computer/Internet time gotten so fast that one hour is “late”?" Yep –  Moab Feb 13 '12 at 20:58

Edit > Undo Move or Ctrl+Z. You may have to press Alt first, if the menu bar is not visible.


share|improve this answer

Ctrl+Z will undo the drag and drop operation. Choosing Undo from the Edit menu works as well.

share|improve this answer

To undo the last action, choose Undo from the Edit menu or hitCtrl+Z on your keyboard.

share|improve this answer

Middle-click or right-click before dropping it to cancel the action entirely. Middle-click is probably more preferable since it won't summon a context menu. This way you can avoid all the caveats of undoing an accidental drag 'n drop.

share|improve this answer

Your Answer


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

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