Contents of the DD.DOC file
DoubleDir (DD.EXE) Release 2.4 (1/90)
Functions - Shows two directories side by side, sorted by name.
* Each directory can be paged (scrolled) separately.
* They can be printed side by side.
* Wildcards can be used, exactly like the DOS "dir" command.
* Various sort orders
* Indicates matching and differing files
* Alters file attributes
* Copies files
* Dumps files
* Erases files
* Finds files
* The choice of directories to examine can be changed
without exiting the program.
* The directories can be re-read to account for a change
of disk or file status.
* Makes and removes directories
* Runs external file browsers and editors
* Moves files between directories without copying them
* Renames files
* Finds "text" or "data" in files
* supports any number of screen lines
* with EGA, toggles 43-line mode
* with VGA, toggles 50-line mode
* DOS access without exiting
* supports ansi colors
Purpose - Use to compare directories, as when moving files from floppy
to floppy (or directory to directory).Allows execution
of file maintainence tasks without losing sight of the
Syntax - dd [d:][\][path][filename] [d:][\][path][filename]
Examples - dd
dd a:*.asm b:*.com
dd a:*.doc c:\mm\mydocs
There is a limit of 700 files per directory.
Default is to the current directory.
Note that the directory on the left BECOMES the current directory when
specified. For example:
C:\MYDIR>dd c:\dir1 d:\dir2
will CHANGE the DOS current directory to C:\DIR1.
A reverse video bar on the bottom of screen indicates which directory will
scroll with the cursor keys. Move the bar using Tab, Left, or Right.
Files with matching entries are marked with "". Files with the same name
but differing sizes, dates, times, or attributes are marked with "".
Hidden and Read-only files are shown by "<" and "". Cursor keys scroll
the active directory.
Other keys: Tab, Left, Right change active directory
F9 Print both directories, side by side.
F10 Toggle 43/50 line display (EGA/VGA only)
Escexit to DOS
CRIssue DOS command
Select a function by pressing the CAPITAL letters of your choice:
Attr COpy CD Dump Erase Find MD Move RD REverse Sort View Xdos
means press A for Attr, CO for copy, D for dump, RE for reverse, etc.
Pressing Returnwill give you a simulated DOS command prompt. Pressing
Return at that prompt will restore the menu.
GENERAL RULES: When you are asked for a filename, pressing Esc
cancels the operation. Pressing F3 restores the previous
entry (like in DOS). So do PgUp and Up-arrow.
* Attrib will change the attribute of a file to Hidden, Readonly, or
Normal. It will not affect the archive bit. Pressing Return without
a filename will cancel.
* Dump will give one of four kinds of dumps:
1) 'Hex' gives a Hex dump (Ascii on the right side)
2) 'Ascii' gives a 'raw' Ascii dump. It's like saying
'copy filename con /b'.Carriage return and other
special characters appear as graphics.
3) 'Strings' shows printable strings only.It will ask you
how many printable chacters in sequence should be considered
significant (the default is 2, the maximum is 9).
4) 'Text' is like the DOS 'type' command, except it
also works for Wordstar-format files.
Pressing Spacebar during a dump will pause it; then any key
will resume. Pressing Esc during the dump will terminate it.
* ChDir will prompt you for directory names ('Left side' and
'Right side').If you enter a name, it will read the
appropriate directory onto the side of the screen specified.
alone will leave the currently selected directory
unchanged. Note that the left side becomes the current
This is also how you change the filespec, for
example, from *.exe to *.*, etc.
* Copy will prompt you for source and target names. It accepts
wildcards for source, but NOT for target. The target
defaults to the current (left) directory. Pressing Return
without a source name will cancel.
* Erase will prompt you for a filename to erase. It takes
wildcards. If you try to erase a Readonly file, you will
get the message 'Access denied.'
* Find will prompt you: 'Data File Text'
* Selecting 'File' will prompt you for a filename to find.
It takes wildcards. It will search all directories on the
drive specified (or the default drive).
* Selecting 'Text' will prompt you for a the text you
wish to find, and the files to search (default is *.*).
The line on which the data is found is displayed, and
Ctrl-Z in a file is considered an EOF mark.
* Selecting 'Data' will prompt you for a the data you
wish to find, and the files to search (default is *.*).
The found data is presented "raw" (like DumpAscii),
and Ctrl-Z is not considered EOF.
Pressing Spacebar during a Find will pause it; then any key
will resume. Pressing Esc during a Find will terminate it.
* MD (Make Directory) works like DOS MkDir.
* Move will prompt you 'Source:' and 'Target:'. It will move the
file(s) you name to a new directory, and/or will rename it
if you wish. Example:
Source: \foo2\*.* Target: \foofiles
Source: \ribbet.doc Target: \foofiles\ribbet.txt
* Sort gives four sort options: Date, Extension, Name, and
Size. Extension is sorted first by extension and then
by Name. The default is Name, ascending order (see Reverse).
* RD (Remove Directory) works like DOS RmDir. It will not
remove the current directory, nor will it remove a non-empty
* Reverse inverts the current sorting sequence. It works with all
* View is for viewing or editing files. It looks for the
environment variable DDVIEW, and then prompts you for
a filename. For example, I use a file browser called
LIST.COM, so I have the line:
in my AUTOEXEC.BAT file. Thus LIST is invoked when I
select View. You can also use the name of an editor;
in fact, you can use View to run any program you like,
excepting TSRs, of course.
* Xdosruns COMMAND.COM and clears the screen. To return to
DoubleDir, issue the EXIT command. DoubleDir will take
up less than 12k of memory.
* Help (F1) will show the help screen (really just a quick intro
for those who haven't yet read this manual).
* Re-read (F2) will reread the currently specified directories.
This allows you to change disks. It is also useful when
you have asked for a file to be deleted, or an attribute
changed, as the display is not automatically updated after
* Print (F9) prints the two directories side by side, just as they
appear on the screen.
* F10 toggles 43-line mode when an EGA is present and 50-line mode
when a VGA is present. It will not save other fonts.
You can specify related directories like in DOS:
[ dd *.* ..\*.* ] will show the current directory and its parent.
If you CHANGE the left directory [CD], but not the right one, you
may get a surprise when you press F2 (Re-read), because the right
directory will show the parent of the NEW current directory. If
the current directory is the root, you will get the message 'File
TRICKS AND TIPS
1) 'Dump Strings' is mostly intended for finding error messages and
such in compiled code.
2) A common use of the Re-read (F2) function is when looking for a
file on a group of diskettes. For example, to find the
Response: 'Left Side: ' Type: c:foo*.doc
Response: 'Right Side: 'Type: a:foo*.doc
Now just keep replacing floppies, hitting F2 each time.
1) The program requires DOS >= 2.0, but does not check.
2) 'Alter' resets the System attribute when making a System file 'Normal'.
This does not interfere with any known DOS function.
The price of this program is $11.00 (see address below).
Thanks to those who have written with suggestions, they are always welcome.
All rights reserved, not to be sold for profit.
(c) 1990 Eric Grunin
250 W.100 St.
NY, NY 10025