How can I automate checking of my c:? C: contains my op sys, Win XP Pro. The following batch file works, somewhat, but I still have to reboot the computer myself. I then run the batch file from a Windows Scheduled Task. d:, e:, f:, g:, and h: are all data drives.
echo y|chkdsk c:/r
chkdsk d:/r
chkdsk e: /r
chkdsk f: /r
chkdsk g: /r
chkdsk h: /r
Is there anyway to automate the reboot? Will the other programs that are running shutdown nicely?
If not, I could add a pause for a last line to leave the window open and remind me to manually reboot the computer.