JZCHKDSK is a program written by Jack A. Zucker that demonstrates how to
perform low level disk functions using the C language.  The C source code
is in the file JZCHKDSK.DMO.

If you forget the options that may be invoked just enter the DOS command:

JZCHKDSK -?

You may enter any character after the dash but c, n, q, or b and the
following message will be printed on your screen:

JZCHKDSK (C) JazSoft by Jack A. Zucker (301) 794-5950 | 75766,1336
Usage: JZCHKDSK <Options> <Path>
Options: -c   List contiguous files
         -n   List non - contiguous files only
         -q   Quiet mode. Don't list files at all
         -b   List Bad Sectors

If you enter the command:  JZCHKDSK without parameters, you will get a short
report on the total disk space, number of clusters, free space and a message
that the bad sectors option was not selected.

If you enter the command along with one or more of the indicated options and
do not include a PATH parameter, you will get the above message about how
to give the commands.  If you want the default drive to be checked you must
include either the drive letter followed by a colon or just enter the back
slash character.  For instance, if the default drive was B>, the following
two commands would produce identical results:

JZCHKDSK -C B:

JZCHKDSK -C \

If you specify a full PATH including drive and subdirectory specification,
JZCHKDSK will analyze only that subdirectory.  Specifying only the drive or
the root directory with the \ will produce an analysis of the entire disk.

The reasons for interest in whether your files occupy contiguous or
non-contiguous sectors are that those occupying contiguous sectors load
faster and may be recovered completely if they are accidentally erased.
DOS 3.x and higher provides the ability to discover files in non-contiguous
sectors.  Jack Zucker's program gives you that ability if you are using an
older version of DOS.

This is the original program from Jack Zucker.  There is a hacked version
floating around that will harm your disk if you use it.  It is named
JZCHKDSK.COM.  If you find this JZCHKDSK.COM program, please destroy it and
do not pass it along to other users.  Please share this JZCHKDSK.ARC file
with other users so that we may eliminate the copies of the bad program.

Mike Todd
SysOp IBMSIG
The Source
Source ID:  SIG003
