Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : DIRCOMP.DOC

Output of file : DIRCOMP.DOC contained in archive : DOCFILES.ZIP
DIRCOMP Charles Petzold
Command 1987/No. 2 (Lab Notes)


Purpose: Permits comparison of the contents of two
directories in alphabetical order, with the
options of redirecting the screen display
either to a file or to a printer.

Format: DIRCOMP directory1 directory2

Remarks: The directories to be compared do not need to
be on the same drive. Use the normal DOS
backslash (\) character in specifying the
path to a desired directory. The DOS
"wildcard" characters (* and ?) may be used
to limit the filenames displayed.

Identically-named files are shown side-by-
side to facilitate comparison of their size,
date, and time. Other filenames are
presented alphabetically in their respective
directory columns. Use Ctrl-NumLock to halt
the display scrolling temporarily; striking
any key thereafter causes scrolling to

In comparing large directories it is
frequently desirable to redirect the output
of DIRCOMP either to a file (which you can
then call up with your word processor) or to
a printer.

Example: To create a file called COMPARE.TMP in the
root directory of drive C: (your currently
active drive) that compares the listings in
your \LETTERS subdirectory with the files
contained on a floppy disk in drive B: you
would enter:


Example: To print out the same comparison without
creating a file, you would enter:



1. DIRCOMP does not provide
forward/backward scrolling capabilities.
If these are desired as an alternative
to alphabetical listings, use
SCANDIR.COM, which is also contained on
this disk.

  3 Responses to “Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : DIRCOMP.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: