
PUSHDIR.COM
-----------

USAGE:    PUSHDIR <optional pathname>

PUSHDIR allows you to save the current directory from a batch file, switch to
another current directory and switch back to the original later in the batch
file (by using its companion POPDIR).  For example, if 123 was located in a
directory called c:\123, then you could create a batch file like the following:

PUSHDIR C:\123
123
POPDIR

Assuming you had pathed to the batch file, you could then start 123 from
anywhere on you hard disk and when you left 123, your current directory would
automatically be restored as if you never left it.  Note that this is different
than just pathing to 123 because 123 (like many other programs) needs the
current directory to be set properly so that it can find its support files
(configuration files and drivers).

The first time you use PUSHDIR a small piece of it will remain resident (about
400 bytes).  This is the storage area used to save the current directory.
Subsequent PUSHDIR's and POPDIR's do not use any more memory.

PUSHDIR's and POPDIR's can be nested up to 6 levels deep.  Each PUSHDIR will
save the latest current directory and each POPDIR will restore the last one
saved.

===============================================================================

POPDIR.COM
----------

USAGE:    POPDIR

POPDIR is just the counterpart to PUSHDIR.  After a PUSHDIR, POPDIR will
restore the previous current directory.  See the documentation on PUSHDIR for
more information.  Note:  POPDIR is of absolutely no use without first doing a
PUSHDIR.

===============================================================================
