Restore corrupted XP system files

  
If the Windows XP system files are corrupted by viruses or other reasons, we can recover those corrupted files from the Windows XP installation disk.
The specific method
:
Search for the corrupted file in the Windows XP installation disk, it should be noted that the last character of the file name is replaced by the bottom line <;&", for example: To search for “Notepad.exe” you need to search with “Notepad.ex_”.
Search for the required files

After searching, open the command line mode (enter “cmd”) in "run" and enter: <;full path to the EXPAND source file The full path to the target file & rdquo;. For example: EXPAND D: /SETUP/NOTEPAD.EX_ C:/Windows/NOTEPAD.EXE. One thing to note is that if there are spaces in the path, you need to include the path in double quotes (quotation marks).
The search is of course the best, but sometimes we can't find the files we need when searching on the Windows XP disk. One reason for this is that the file you are looking for is in the "CAB” file. Since Windows XP treats "CAB" as a folder, for Windows XP, just drag and copy the "CAB” file right and copy it to the appropriate directory.
If you are using another Windows platform, search for the ""CAB” file containing the target file name. Then open the command line mode and enter: <;EXTRACT /L target location The full path of the CAB file", for example: EXTRACT /L C:/Windows D:/I386/Driver.cab Notepad.exe. As before, as if there are spaces in the path, you need to enclose the path in double quotes.

Copyright © Windows knowledge All Rights Reserved