EDIT: So the question is Does Windows free up the disk space used by a file, is that data marked as deleted when it is moved to recycle bin upon deletion, or is it's pathname simply changed to recycle bin or to another folder(maybe a temp folder for Undo operations), and that data not marked as deleted until permenent?
Hello everyone, think I've found a solution here https://whereismydata.wordpress.com/2009/05/02/forensics-what-happens-when-files-are-deleted/
I know this is pretty specific to me
Basically I deleted a file and wanted to press Ctrl+z to undo that operation, this was not possible because I lost the undo button in File Explorer and Ctrl+Z.
The file is in Recycle Bin, but I want to make sure restoring that file is doing the same thing as Ctrl+z like I have tried to explain below. I mean if I left the data of the file while it still is in recycle bin Ctrl+z would be writing new data to restore that file
So I wanted to understand the process of Undo.
The research I did was read up on File systems, FAT, but I did not read up more on NTFS which I am using, I have a hdd rather than Solid state so I read about how data is stored as the polarity of a magnet 1 for a on bit or 0 for off. I looked into how Recovery software works, it will preserve the ones and zeroes of a file but not necessarily at the original location on disk so it preserves a copy of the file not necessarily the bits at their original locations, for linear addressing systems, this is relevent because if Undo/Delete does preserve bits at their original addresses recycle bin or temp preserves the original bits rather than copies of those bits.
When a file is deleted with del key, is a copy of that file made anywhere on hard disk, or is it only moved to recycle bin? I understand traces of the file may be left but does windows do anything else with that file?