Self-made Windows operating system Recycle Bin

Source: Internet
Author: User

We know that the recycle bin is a windows system folder and can only have one folder under one drive. But I want to tell you that my drive C has many recycle bins, and there are recycle bins in the folder. Do you believe this? Let's create your own recycle bin with me.

First, create a folder under the drive or folder you want to create the recycle bin, such as c: aaa, and rename it as "recycle bin 2 ".

Next, remove the system and hidden attributes of the original recycle bin in windows. Method: Start the MS-DOS, input: attrib c: ecycled-s-h, press Enter. Exit MS-DOS mode. (Don't forget to change it back.) Now let's go back to drive C and check that the recycle bin is gone. We see a folder named "Recycled" (if you have already opened drive C, so please refresh ). Open this folder and check that there is a file named "desktop. ini. If not, select "show all files" in "Folder Options ". Copy the file and paste it to the c: aaa recycle bin 2.

Finally, set "recycle bin 2" and Right-click "recycle bin 2". A shortcut menu is displayed, and select Properties. Select the "read-only" attribute and click OK. (Of course, we can also set the properties of this folder as system properties, similar to removing System Properties, after starting the MS-DOS, enter attrib c: aaa recycle bin 2 + s, press Enter .) Refresh the page. The folder is changed to the recycle bin. Go to the recycle bin to check whether it is the same as the recycle bin in the system.

Now, let's delete a file and go to "recycle bin 2" to check whether there is a file we just deleted. We can go to the original recycle bin and find that there is also the file we just deleted. "Recycle bin 2" also has the function of recycle bin.

Now you can create multiple recycle bins anywhere.

Using the method of making the recycle bin, we can hide some important files: Put the important files in a folder, and then make the folder into the recycle bin. After that, let's go in and see, the original file is missing. To restore the folder, remove the "read-only" attribute of the folder. If the attribute of this folder is "system", remove its "system" attribute. Here is a simple method. Right-click the folder, select Properties, select "enable thumbnail viewing mode", and click OK. The "system" attribute of the folder will be removed. Finally, refresh the page and change the recycle bin to a folder.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.