I once saw such a statement on a forum on a famous Website: miserable! I have deleted the Windows Startup File (not permanently deleted), and the computer cannot start now. Originally, this guy installed two operating systems on his computer, Windows 98 and Windows NT Server 4.0. Out of curiosity about Windows Startup files, when running Windows 98, the startup files under Windows 98 and Windows NT are deleted by mistake, however, he himself does not know which Windows Startup files are included, and not one or two files are deleted ...... What should we do?
I remember someone mentioned in a magazine that he accidentally deleted Windows 98 system. the INI file causes the computer to fail to start, but then it is restored in the "recycle bin" directory under DOS. Think about it: if he didn't know what file he deleted at the time, it would be impossible to restore the file! Because the deleted file is different from the original file name, and you do not know the directory where the original file is located. However, I was inspired by his introduction, and finally found a solution. This is what I want to talk about: "The large way to recycle deleted files ". The following is an example:
On Windows 98, I deleted two files: msdos. sys (Windows 98 Startup File) and ntdet ect.com (Windows NT Startup File ). 1. Now, in the "Start"> "run" command line, enter "command" to the DOS mode to perform the doscommand operation for a long time!
Enter the "recycle bin" directory in DOS mode: recycled (command: c: cd recycled). Note: This directory has hidden attributes, enter the command dir/a (list all files/Directories) to view the interface 2.
We can see that there is a DC *. * file. These two files are the two files just deleted, but their file names have changed. At the same time, we can also see the info2 file, which is the key. Run the edit info2 command again. The following page is displayed: 3, in the yellow box, the detailed information about the two files before and after they are deleted (the information above in the yellow box is the information about the files I deleted, although they have been completely deleted, but there are still records ). All the names of files before and after deletion and the Directories Before and After deletion are clear at a glance! C: After ntdetect.com is deleted, the file name is changed to DC12.COM, and c: MSDOS. SYS is changed to DC13.SYS. If there are a lot of deleted files, a long record will be listed here. At this time, you need to take the paper and pen and write them down one by one, so you don't have to worry about the garbled characters. The following describes the recovery procedure:
1. Write down the file name and the information of the directory.
2. Copy the deleted files one by one to the directory where the original files are located, and change the file name back.
To do this well, you must ensure that there is a portable floppy disk that can be started. It is best to include the edit.com 、attrib.exe file. I believe anyone who knows a little about DOS knows what this is. At the same time, we also welcome new users (Windows 95/98/2000/NT) who are tired of using the old doscommand: Windows is indeed comfortable to use, but the DOS method must be used to solve the problem.
The above method has passed the test. Do you know what to do if you encounter such a problem in the future?