For scanning

Closed
prahlad sathwara - Sep 6, 2009 at 04:37 PM
sharpman Posts 1021 Registration date Saturday May 23, 2009 Status Contributor Last seen October 20, 2010 - Sep 6, 2009 at 06:19 PM
Hello,
how to scaning the drive by the command prompt.get the detail about it.pls

1 response

sharpman Posts 1021 Registration date Saturday May 23, 2009 Status Contributor Last seen October 20, 2010 183
Sep 6, 2009 at 06:19 PM
I'm assuming you mean a check of your hdd.

The following is a list of commands for chkdsk.

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
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.

the command would be chkdsk /? c:
where the ? is you put the letter from the list above depending on what you want chkdsk to do.

hope this helps.
0