@echo offset Pan=C D E F Gfor %%a in (%Pan%) do chkdsk %%a: /xpause
把上面代码保存为bat文件,然后运行即可,代码中需要处理的盘符,请自行增减。