Recycle bin
Encyclopedia : R : RE : REC : Recycle bin
-->
- This article is about the recycle bin in Windows. For a container used for recycling, see recycling bin.
General
The recycle bin was introduced in Windows 95. Before, undeletion was the only way to recover accidentally deleted files. Recycle Bin holds data that not only lists deleted files, but also the date, time and the path of those files. The recycle bin is opened like a regular Windows Explorer folder and the files are viewed similarly. Deleted files may be removed from the recycle bin by restoring them with a command.
The recycle bin's icon indicates whether or not something is in the recycle bin. If the icon is empty, there are no files in the recycle bin. If there are objects in the recycle bin on the icon, there are files in the recycle bin.
By default, the recycle bin is configured to hold 10% of the total capacity of the hard disk it's in. For example, a hard drive with a capacity of 20 gigabytes will hold up to 2 gigabytes. If the recycle bin fills up to maximum capacity, the oldest files will be deleted in order to accomodate the newly deleted files. If a file is too large for the recycle bin, the user will be prompted to permanently delete the file instead. The maximum possible size of the recycle bin is 3.99 gigabytes.
The same feature exists in other operating systems under a different name, for example in Apple's Mac OS and various Linux distributions, it is named 'Trash'.
Physical storage locations
Files in the recycle bin are stored in C:\RECYCLED on FAT filesystems or in the RECYCLER folder of the disk the file was deleted from on NTFS filesystems. [link] The recycle bin is accessed via the desktop. (In fact it is the only icon shown by default on the Windows XP desktop.) The recycle bin, when accessed from the desktop, has different options and information than what Windows Explorer normally would have as seen from the physical location. In an NTFS environment, users cannot see deleted files in the recycle bin of other users.Deleting files
Files are moved to the recycle bin in a number of ways:- By right-clicking on a file and selecting delete from the menu
- Selecting the file and pressing the delete key
- Selecting delete from the side menu in Windows XP
- From a context menu command or some other function in a software application (usually configurable)
- By a computer virus
- By dragging and dropping a file into the recycle bin icon
How the recycle bin works
Files stored in the Recycle Bin in its physical location are renamed as DCxxx.ext where xxx represents a number and ext is the original file extension for the file. The file names are kept as is when viewed from the main recycle bin. A hidden file is created, without an extension, called "info2". This file stores the original files' paths and file names so when the file is removed from the recycle bin and returned to its original directory, the original file name is kept as is. When the file is "deleted" the space on the disk is designated to be erased over by whatever files then are saved on the disk. For instance, if you have a picture deleted on the recycling bin, it is still technically on the physical disk until another file takes its place.
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
