@PeterJones said in Old document replaces current document after accidently unplugging usb flash drive that documents are stored on. ???:
Notepad++'s unsaved-files backup location is not in the same folder as the file, it’s in the AppData hierarchy. (So if you want to use recovery software, try it there instead of where your old file was located)
It is not an auto-save feature like you seem to think it is; for that, you need the AutoSave plugin (you must configure it). more on periodic-backup vs auto-save in our FAQ on the subject.
If you hadn’t manually saved your file in over a year, then Notepad++ would never have written it to the main document folder – it would just keep happily doing the periodic backup in AppData, assuming you were able to save to a named file whenever you thought it was necessary.
edited for clarity
Well I could not find it there. I used many recovery app’s.
But the odd thing is I found a version of it that was only a few days if no day’s old in a way deferent folder that some of my other documents are stored in…