Windows does not keep a simple “last command in File Explorer” log that can be viewed after the fact, but there are several concrete steps that can help determine what happened and recover or separate files.
- Check the destination folder’s contents by date
- Open File Explorer and go to the folder where the files appear to have been copied or moved.
- In the folder, right‑click an empty area, choose Sort by > Date modified.
- This groups the most recently changed files at the top. All files that were copied or moved during the incident should share very similar Date modified and Date created timestamps.
- Select the block of files with those timestamps and move them to a temporary folder so they are separated from the original contents.
- Use Search to find recently changed files If the destination folder is unclear or there may be multiple destinations:
- Open File Explorer.
- In This PC or in the drive where documents are stored, click in the search box.
- Use a date filter such as:
-
datemodified:today - or
datemodified:this week
-
- Sort the results by Date modified.
- This shows files that were created/changed during the incident and may reveal where they ended up.
The same technique can be combined with wildcard searches to narrow by type, for example:
-
*.docx datemodified:today -
*.xlsx datemodified:today
(Searching with wildcards is described for another scenario but works the same way.)
- Check whether files were moved or copied There is no direct “last operation” record, but behavior gives clues:
- If the original folders are now missing files that appear in the destination, the operation was likely a move.
- If the original folders still contain all files and the destination has duplicates, the operation was likely a copy.
To compare:
- Go to a folder that should contain important files.
- If files are missing, search for them by name or by wildcard (
*.docx,*.pdf) across the drive as above.
- Try restoring from File History or other backup If files were overwritten or deleted and there is a backup:
- Open File Explorer and navigate to the folder that originally contained the files.
- Right‑click the folder and select Restore previous versions.
- In the Previous Versions tab, select a version from before the incident.
- Use Open in File History to preview.
- If the correct content is present, choose Restore or Restore to… to recover to a different location so nothing current is overwritten.
- If files are missing entirely If files cannot be found via search and there is no File History or other backup, recovery is limited. Windows File Recovery (command‑line tool) can sometimes restore deleted files, but success is not guaranteed and depends on how much the disk has been used since the incident. In such a case, minimizing further writes to the drive (as already planned) is important.
Because Windows does not log a human‑readable “last Explorer command,” the practical approach is:
- Identify the likely destination folder(s).
- Sort and filter by Date modified to isolate the affected files.
- Use backups (File History, other backup solutions) to restore overwritten or deleted items where possible.
References: