How to operate the Recycle Bin in DOS

Source: Internet
Author: User
Keywords Recycle Bin we can delete original
The Recycle Bin is an important component in the Windows system that gives the user a "regret pill" that allows us to recover the files that were mistakenly deleted. However, for a variety of reasons, we have to delete or restore the files in the Recycle Bin in DOS? Never mind, the author of this issue has been a study, and now to organize the written to tell you.

First, restore the files in the Recycle Bin under DOS

When we accidentally deleted some files and found that we couldn't get into windows, we had to recover the files from the Recycle Bin under DOS. Reboot into DOS mode (you can use floppy disk or CD-ROM if necessary), at DOS prompt, type cd recycled into the C:\RECYCLED folder, this is a hidden directory, we want to restore the file on the head here (if you want to restore the file originally in D disk, The corresponding directory is D:\RECYCLED, and so on. You can use the dir command to list hidden files at the beginning of a bunch of DCs (DC1.txt, dc2.com ...). These are the files to be recovered.

But because Windows changes the file name when it moves files to the Recycle Bin, you need to retrieve the original file name. The original file name can be found from the INFO2 file in the recycled directory. INFO2 is a binary file, each deleted file has a record in the INFO2 file (800 bytes), which can find the file name, other information is not ASCII characters, we do not care. and the filename is in order, the first file name is the original file name of the dc1.* file, and the suffix name remains unchanged. If the directory is deleted, there is a recycled called DC???? directory, the same way you can retrieve the original directory name. But recovery is far from http://www.aliyun.com/zixun/aggregation/32995.html "> is so easy to recover under windows that you have to be patient."

Ii. Delete the files in the Recycle Bin under DOS

8630.html "> Sometimes, we really need to delete the files, so as not to take up too much valuable hard disk space." In general, we remove it by right-clicking the Recycle Bin and selecting the empty Recycle Bin command. According to the use of the author found that sometimes the "Recycle Bin" in the file more, delete the need for a certain period of time, looking at the hard drive light, listening to the crisp hard drive sound, in the mind really some ... And some files are still stubborn, simply delete it! In fact, we can quickly and completely delete the files in the Recycle Bin under DOS. This is done as follows (assuming that Windows is installed under C:\WIN98 and if your Windows is installed in a different folder, modify it Yourself):

1. Click "Start" → "run", fill in "COMMAND" in the running dialog box, and enter the DOS window;

2. Copy C:\WIN98\COMMAND\DELTREE.exe C:\ directory;

3. Through the CD command into the C:\RECYCLED folder (Dos directory);

4.deltree/y *.* >MUL;

5. Type exit to return to Windows.

The above operation can also be made into a DOS batch file, but before use must think twice! Because the use of this method will cause you in the Recycle Bin files will never find back!

Related Article

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.