Windows Explorer is a powerful tool that can be used to manage files and folders on your computer. However, it can also be used to make accidental moves or deletes. If you accidentally delete a file or move a file to a location where it cannot be recovered, you can undo the deletion or move by following these steps:
- Open Windows Explorer and navigate to the location where the file or folder was deleted or moved.
- Right-click on the file or folder and select “Undo.”
- If the file was moved, Windows Explorer will ask if you want to replace the original file with the copy that was moved. Click “Yes” if you want to replace the original file, or “No” if you want to keep the original file. ..
All you have to do is use the Ctrl+Z keyboard shortcut, or use Edit \ Undo on the menu.
This is especially handy when you are trying to select a bunch of files, and accidentally move the mouse and copy them into the same folder instead:
Once you do that, just immediately use the Ctrl+Z shortcut and the files will be removed, although you will get the regular delete confirmation dialog:
This can be confusing, but since the accidentally copied file is now going to be removed permanently, it makes sense that you’ll have to accept the deletion.
Also note that this works in any version of Windows.