POPD - Program to change to a "pushed" directory.
PUSHD - Program to save current working directory in environment, and
    change to new directory.

Copyright Peter Barker, 1992. Version 1.0

Usage:
pushd <path> - will save current directory, and change dir to <path>
popd         - return to previous directory.
<path> may optionally include a drive name (followed by :). If a
    drive name only is specified, will change to default directory
    on drive. (e.g. pushd d: will change to previous default directory
    on drive d:, but pushd d:\ will change to root directory).
At least one of the environment variables TEMP or TMP must be set to a
directory which can be used for temporary files before using pushd or popd.


These programs operate by opening a file called "PUSH$77.00n" in the
directory pointed by your TMP or TEMP environment variables. The name of
the current working directory is saved in this file by PUSHD, and read
from this file by POPD. The first use of PUSHD will use n=1, the second
use n=2 etc. POPD looks for the highest n first, so the two programs
work as if they were pushing an popping directory names from a stack.
The file PUSHPOP.C should be compiled with Microsoft C v6 or Borland
C 3.1 (should work with other versions and C compilers), and PUSHPOP.EXE
copied to PUSHD.EXE and POPD.EXE. The program operates as PUSH or POP
by checking the name it was called by, or, in old versions of DOS where
this is not possible, by checking if the user specified a <path>. It also
uses this method if it renamed to something else not beginning with
PUSHD or POPD.
At least one of the environment variables TEMP or TMP must
be set before running the programs.

A small program to print the name of the current working directory is
also included in this ZIP file.
