How to repair Windows XP by commands?

Answer : When you boot from CD ROM, press first "R" for repair & will show C:Windows, then type in front of it CHKDSK (space) /R/P/F then press Enter. After taking 10 -15 minutes. Windows XP will start properly.
