Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望在启动时安排多个 chkdsk:
“fsutildirty set [drive]:” 将驱动器标记为脏并且应该被扫描,但由于某种原因它会扫描 C 并跳过 D。
有没有办法强制扫描?
碰巧,是的。
“chkntfs /c [drive]:” ovverides 启动行为以确保如果设置了脏位,则在启动时扫描驱动器。
所以最终的代码将是这样的:
fsutil dirty set c: fsutil dirty set d: chkntfs /c c: d: