Repairing Windows XP in Eight Commands: Page (2)
Proceeding With the Repair Functions
* There are eight commands you must enter in sequence to repair any of the issues I noted in the opening of this guide. I will introduce them here, and then show the results graphically in the next six steps. These commands are as follows:
o C: CD ..
o C: ATTRIB ?H C:\boot.ini
o C:ATTRIB ?S C:\boot.ini
o C:ATRIB ?R C:\boot.ini
o C: del boot.ini
o C: BOOTCFG /Rebuild
o C: CHKDSK /R /F
o C: FIXBOOT
* To ?Go up a directory? in computing is to revert back to the directory above the current folder you?re operating in. If, for example, I?m in the C:WINDOWSSYSTEM32 directory, and I want to get at a file in the WINDOWS directory, I would merely type CD .. and I would be taken out of the SYSTEM32 folder and up one level to WINDOWS. We?re going to do the same thing here from the WINDOWS folder to get to the basic root of C:
* Now that we are at C: we can begin the process of repairing the operating system
and that begins with modifying the attributes of the BOOT.INI file. Briefly, BOOT.INI controls what operating systems the Windows boot process can see, how to load them, and where they?re located on your disk. We?re going to make sure the file is no longer hidden from our prying eyes, remove the flag that sets it as an undeletable system file, and remove the flag that sets it as a file we can only read, but not write to. To do this, we will issue three commands in this step:
* C:ATTRIB ?H C:\BOOT.INI
* C:ATTRIB ?R C:\BOOT.INI
* C:ATTRIB ?S C:\BOOT.INI
to remove the Hidden, System and Read Only flags.
* Now that we?ve modified the attributes for the BOOT.INI file, it?s up for deletion.
the syntax for it is simple: { DEL | FILE NAME }, e.g., C:DEL BOOT.INI deletes the BOOT.INI file.
* Now for the most important step of our process, the BOOTC