how to use CHKDSK

Discussion in 'Windows Desktop Systems' started by apu95, Oct 21, 2002.

  1. apu95

    apu95 Caffeine-->Code Converter

    Montreal, Canada
    i was trying to defrag with diskeeper but it told me that there had been an error and that i should run chkdsk and then defrag.
    so i went to run and typed in chkdsk and the program started running, but it said that it was running in write protection mode. my question is, what are the parameters i should type in so the chkdsk program can do its thing?

    thx, Apu
  2. Hipster Doofus

    Hipster Doofus Good grief Charlie Brown

    Melbourne Australia
    Have you tried right clicking on the drive from windows explorer, choosing properties/tools?
  3. rettahc

    rettahc Guest

    Here's the chkdsk switches

    CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]

    volume Specifies the drive letter (followed by a colon),
    mount point, or volume name.
    filename FAT/FAT32 only: Specifies the files to check for fragmentation
    /F Fixes errors on the disk.
    /V On FAT/FAT32: Displays the full path and name of every file
    on the disk.
    On NTFS: Displays cleanup messages if any.
    /R Locates bad sectors and recovers readable information
    (implies /F).
    /L:size NTFS only: Changes the log file size to the specified number
    of kilobytes. If size is not specified, displays current
    /X Forces the volume to dismount first if necessary.
    All opened handles to the volume would then be invalid
    (implies /F).
    /I NTFS only: Performs a less vigorous check of index entries.
    /C NTFS only: Skips checking of cycles within the folder

    The /I or /C switch reduces the amount of time required to run Chkdsk by
    skipping certain checks of the volume.