Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Run("cmd.exe", "/c echo y | chkdsk /f")
OR
NOTE: This is the default setting for Autochk and also the result of using Chkntfs /d to have all volumes checked at boot time.
Additional entries that can be found in BootExecute are:
Registry value Function /P \??\Volume: Schedules an unconditional Chkdsk against the volume. /p \??\VOLUME{GUID} Schedules an unconditional Chkdsk against a volume mount point. /k:Volume * Excludes Chkdsk from running against the volume. /m \??\Volume: Tells Autochk to look only at the dirty bit on the volume, and if set, run Chkdsk. Sample command Resulting registry entry Chkdsk C: /F Autocheck autochk /p \??\C: Chkdsk C:\mountpoint /F Autocheck autochk /p \??\VOLUME{GUID} Chkntfs D: E: /X Autocheck autochk /k:D /k:E * Chkntfs G: /C Autocheck autochk /m \??\G:Reference: http://support.microsoft.com/?scid=218461
Article ID: W16006
File Created: 2004:03:30:15:42:10
Last Updated: 2004:03:30:15:42:10