How can I run chkdsk (Check Disk) and make it fix errors?

When I run chkdsk it runs in Read Only Mode. It will find disk errors, but will not correct them. How can I make chkdsk automatically fix errors?

I use Windows XP.
When I run chkdsk I type chkdsk c:
steve, January 2004


done
Right click on your CD Rom icon,go down to properties,click on tools,click on Error-checking,("check now"),Then tick both boxes.When you restart your computer again it will check your drive for errors etc.

Peter Neijs, April 2004
You should use the /f switch. Type chkdsk c: /f

This instructs chkdsk to fix errors. On Windows XP chkdsk cannot run while Windows is being used. It will ask you if you want to make the app check the disk the next time you restart your computer. Say yes and then restart your computer.

Niel, January 2004