Dec 262017
 
Computes both 16-bit and 32-bit CRCs for any file. This is an excellent method to determine if a file has changed at all.
File CRC110.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Computes both 16-bit and 32-bit CRCs for any file. This is an excellent method to determine if a file has changed at all.
File Name File Size Zip Size Zip Type
CRC.DOC 5341 2273 deflated
CRC.EXE 7768 5439 deflated

Download File CRC110.ZIP Here

Contents of the CRC.DOC file


September 17, 1989


CRC-M2 - Cyclic Redundancy Checker, Version 1.10 - Displays both 16- and
32-bit CRC values of files selected from the command line. 16-bit CRC same
as for ARC, LZH and ZOO files. 32-bit CRC same as for ZIP. Wildcards and
multiple filespecs supported. Free program.

Contents:
=========
Purpose
Commands
Program background
Other programs
Closing remarks

Purpose:
========
To display both 16- and 32-bit CRC values for selected files. Useful for
comparing contents of archives with external files.

Also useful for comparing files that are physically separated by distance
or incompatible hardware.

[I used this technique years ago to check the integrity of data files being
transferred from a CP/M machine to an MS-DOS one. The CP/M machine had
hard-sectored floppy drives, so the data was transferred via the respective
serial ports - which also caused the high bits to be stripped. I had to
write a program to encode binary data at the CP/M end and another one to
reconstruct the data at the MS-DOS end. CRC programs producing identical
values were used on both ends to compare files.]

This is a free program. You may use it or give it away as you wish.
Please include this DOC file if you do pass it along.

Commands:
=========
Just specify the names of the files to check after the program name.

Usage: crc filespec [filespec ...]

'filespec' above may contain drive and/or path designations.

Examples: CRC *.exe *.com
CRC \autoexec.bat
CRC d:123*.* filename.ext *.e?e

If more than one file has been selected for processing, will
terminate the program - but only after the current file has finished
processing.

Program background:
===================
The original version of this program was actually written as a by-product
of my search for an efficient and reliable CRC algorithm, implemented in a
high-level language. What prompted this search was my desire to write my
own file concatenation program, and CRC values would provide some measure
of assurance of the integrity of the files involved.

Other programs:
===============
Other programs which I have written and contributed to the public domain
include:

CAL100
------
CAL - Calendar V1.00 - 06/03/89 - A simple, pop-up calendar display program
that can be used as a sort of perpetual calendar. Valid years range from
0001 to 9999 (arbitrary). This program is NOT memory-resident. Scroll
through the different months and years. Although the executable file is
stand-alone, I don't consider this to be a complete program. I've
contemplated using the included routines as the starting point for a
scheduling program, for example. Source code included.

DDEL124
-------
DIRDEL - Directory Delete V1.24 - 07/15/89 - This program will delete
entire subdirectory trees - even those containing read-only, hidden and
system files and directories. It will even delete the current directory.
The executable file for this version is significantly smaller than before.
Source code included.

FIX301
------
FIX - File Fix V3.01 - 09/03/89 - A binary editor which allows easy editing
of any file regardless of attributes. Searches available from within a
file: 1) text search, with wildcard support and 2) byte search, which can
find arbitrary sequences of bytes specified by the user, including nulls,
machine code and binary data. Also includes a scroll bar indicating
relative file position, file header support and 256-byte default records.

FND106
------
FFIND - File Finder V1.06 - 07/31/89 - This program will find any file or
subdirectory on your hard disk, including hidden and system files.
Wildcards are accepted. Improvements for this version include an overall
increase in speed and a smaller executable filesize. Source code included.

LV102
-----
LV - LZH View 1.02 - 09/12/89 - LZH file directory lister for viewing
contents of LZH files, including self-extracting files. Multiple filespecs
and wildcards may be specified on the command line. Switches available for
Wide, Technical and Brief (filename without path) displays. Converts LZH
SFX files to normal LZH files. Strips extra bytes from ends of LZH files
caused by some file transfer protocols.

ZV112
-----
ZV - ZIP View V1.12 - 09/09/89 - ZIP file directory lister for viewing
contents of ZIP files, including self-extracting files. Multiple filespecs
and wildcards may be specified on the command line. DOS-compatible
switches available for Wide, Technical and Brief (filename without path)
displays. Converts ZIP SFX files to normal ZIP files. NEW OPTIONS: 1)
strip ZIP file comments and 2) strip extra bytes from end of ZIP files
caused by file transfer protocols.

Closing remarks:
================
You may send your suggestions and comments to me at the addresses below:


By conventional mail:
---------------------
Raymond T. Kaya
P. O. Box 1436
Honolulu, HI 96806


By electronic mail:
-------------------
CompuServe: 71230,2500
GEnie: R.KAYA1


 December 26, 2017  Add comments

Leave a Reply