Batch file for Chkdsk in Recovery Console

  • Thread starter Thread starter Dusty
  • Start date Start date
D

Dusty

After booting into Windows Recovery Console, I want to run a batch file to
"chkdsk /r" all of my partitions (7) without interaction. I have created
batch files and can only get chkdsk to work without the /r parameter.

I tried putting all in quotes and only /r in quotes. Neither worked.

Can this be done?
 
Following was the latest version.

chkdsk c: "/r"
chkdsk d: "/r"
chkdsk e: "/r"
chkdsk f: "/r"
chkdsk g: "/r"
chkdsk k: "/r"
chkdsk h: "/r"

I also tried putting the quotes as follows: chkdsk "h: /r", etc. and also
used no quotes.

In all cases it ignored the parameter.
 
Back
Top