2 Intern

 • 

4.4K Posts

April 20th, 2005 12:00

I don't think /P rxists for chkdsk.

click start, run, type cmd, click OK. In the command window at the prompt type chkdsk /? that will show you the various allowed switches.


CHKDSK [volume[[path]filename]]] [/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 fragmentatio
.
  /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
                  size.
  /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
                  structure.

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

 
A good reference for command line switches is
 
 
If you ckick on chkdsk you'll find some additional comments.

Message Edited by JRosenfeld on 04-20-2005 02:45 PM

10 Elder

 • 

45.2K Posts

April 20th, 2005 17:00

The chkdsk switches are different in Recovery Console vs 'inside' XP. The only 2 chkdsk switches available in Recovery Console are /P and /R

/P performs exhaustive search on HD for errors
/R fixes the errors

There must be one space before each / in order for it to work properly, so the format in Recovery Console is:

chkdsk C: /P /R

Ron

Message Edited by RoHe on 04-20-2005 12:03 PM

2 Intern

 • 

4.4K Posts

April 20th, 2005 21:00

But as I have just learned from Denny, /r implies /p, so I still think chkdsk /r is all that is needed.
No Events found!

Top