                               DT (Disk Test) 
 

Description:   Checks a disk for physical damage. In versions 4.0 and later,
               you can mark a cluster as either usable or unusable, check
               only a specific path, or attempt to move data that is stored
               in bad clusters to a new area. 
 

Syntax:        Version 3.0:   DT [(drive:)] [/F | /D | /B] 
 
               Version 3.1:   DT [(drive:)] [/F | /D | /B] [/LOG] 
 
               Version 4.0: 4.5)   DT [(drive:)][[(path) [/S]] | [/F | /D | 
                                   /B]][/C(n)[-] ...] 

                                   DT [(drive:)][(path)](filespec) 
 
                                Parameters: 
 
(drive:)       The single-letter specifier (A:, B:, C:, etc.) for the drive
               you want to test. Follow the letter with a colon. The current
               drive is the default. 
 



(path)         The full name (C:\WP\LETTERS) of the directory containing the
               files whose clusters you want to test. If you include either
               the /B or the /D switch with this parameter, (path )is
               ignored, and DT tests the entire disk and all files on it. 

 
(filespec)     The name of the file or files whose clusters you want to test.
               If you include either the /B or the /D switch with this
               parameter, (filespec) is ignored and DT tests the entire disk
               and all files on it. The default (filespec) is *.*. /B  Tests
               the entire disk (/D) and all files on it (/F). 
 
/C(n-)         Marks cluster (n) as unusable. 
 
/C(n)          Marks cluster (n) as usable. 
 
/D             Tests the entire disk, including system areas and unallocated
               areas. 
 
/F             Tests all allocated file areas on the disk. 
 


/LOG           Writes diagnostic output as separate output lines that can be
               directed either to a printer or to a  disk file by including
               the MS-DOS redirection character (>) followed by a printer
               name or a filename at the end of the command. 
 
/M             Attempts to move data stored in unreadable clusters to a new
               location and marks the clusters as unreadable. 
 
/S             Tests all files in all subdirectories under the current or
               specified path. 
 
                                   Notes:

You can stop the disk test at any time by pressing the Ctrl-C (^C) or
Ctrl-Break (^[) key sequence. 
 
Example:       Test the WP directory on drive B, to move data stored in
               unreadable clusters to a new location, and to write the output
               diagnostics to the file (test.log).

               Enter:    DT b:\wp /M /LOG > test.log 
