home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 21 / CD_ASCQ_21_040595.iso / dos / prg / c / freedos3 / help / jzchkdsk.doc < prev    next >
Text File  |  1986-07-21  |  2KB  |  55 lines

  1. JZCHKDSK is a program written by Jack A. Zucker that demonstrates how to
  2. perform low level disk functions using the C language.  The C source code
  3. is in the file JZCHKDSK.DMO.
  4.  
  5. If you forget the options that may be invoked just enter the DOS command:
  6.  
  7. JZCHKDSK -?
  8.  
  9. You may enter any character after the dash but c, n, q, or b and the
  10. following message will be printed on your screen:
  11.  
  12. JZCHKDSK (C) JazSoft by Jack A. Zucker (301) 794-5950 | 75766,1336
  13. Usage: JZCHKDSK <Options> <Path>
  14. Options: -c   List contiguous files
  15.          -n   List non - contiguous files only
  16.          -q   Quiet mode. Don't list files at all
  17.          -b   List Bad Sectors
  18.  
  19. If you enter the command:  JZCHKDSK without parameters, you will get a short
  20. report on the total disk space, number of clusters, free space and a message
  21. that the bad sectors option was not selected.
  22.  
  23. If you enter the command along with one or more of the indicated options and
  24. do not include a PATH parameter, you will get the above message about how
  25. to give the commands.  If you want the default drive to be checked you must
  26. include either the drive letter followed by a colon or just enter the back
  27. slash character.  For instance, if the default drive was B>, the following
  28. two commands would produce identical results:
  29.  
  30. JZCHKDSK -C B:
  31.  
  32. JZCHKDSK -C \
  33.  
  34. If you specify a full PATH including drive and subdirectory specification,
  35. JZCHKDSK will analyze only that subdirectory.  Specifying only the drive or
  36. the root directory with the \ will produce an analysis of the entire disk.
  37.  
  38. The reasons for interest in whether your files occupy contiguous or
  39. non-contiguous sectors are that those occupying contiguous sectors load
  40. faster and may be recovered completely if they are accidentally erased.
  41. DOS 3.x and higher provides the ability to discover files in non-contiguous
  42. sectors.  Jack Zucker's program gives you that ability if you are using an
  43. older version of DOS.
  44.  
  45. This is the original program from Jack Zucker.  There is a hacked version
  46. floating around that will harm your disk if you use it.  It is named
  47. JZCHKDSK.COM.  If you find this JZCHKDSK.COM program, please destroy it and
  48. do not pass it along to other users.  Please share this JZCHKDSK.ARC file
  49. with other users so that we may eliminate the copies of the bad program.
  50.  
  51. Mike Todd
  52. SysOp IBMSIG
  53. The Source
  54. Source ID:  SIG003
  55.