1.

Solve : how to automate chkdsk.exe?

Answer»

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.

Use Diskeeper 10 Professional and schedule a boot-time defrag with chkdsk and defrag the paging file and MFTs at the same time.

This is a better WAY to do the maintenance in my view.

Diskeeper has a 30-day evaluation period and I think that the program is worth buying for the Frag-Shield FEATURE alone.

You could set the scheduled task to run your batch file at Start-Up.Diskeeper Lite has everything except SCHEDULING, but i agree with Mac...it is worth owning.XP Defrag - IS - Diskeeper Lite.



Discussion

No Comment Found