home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM This is CONTIG1.BAT
- REM
- REM CONTIG1.BAT tells you whether a particular file contains chunks
- REM ("blocks") that are not located physically beside each other on
- REM your disk.
- REM
- IF %1!==! GOTO OOPS
- ECHO Checking to see if %1 contains
- ECHO noncontiguous parts . . .
- CHKDSK %1 | FIND "contig"
- GOTO END
- :OOPS
- ECHO.
- ECHO Enter the name of a file after %0
- ECHO to see for noncontiguous blocks
- ECHO.
- :END
-