Contents of the README.TXT file
readme.txt for Pushdir.exe & Popdir.exe
For years, I have been using a couple of utilities called "pushdir"
and "popdir". I don't remember the author of these, but they were
very helpful for jumping around directories. The originals
were developed in Turbo Pascal and had file sizes of about 11k each.
When I switched to DOS 4.01 with extended partitions for my hard disk,
I was disappointed to find that these utilities no longer worked. Here
then are my versions, developed with MASM 5.1. The EXE files have
been compressed with LZEXE so that the utilities are under 1k each.
How they work:
PUSHDIR, when run, saves the current default drive and directory
to a file named "PUSHDIR.DAT". POPDIR, when run, reads PUSHDIR.DAT
and restores you to the last drive and directory PUSHDIRed.
PUSHDIR.DAT will always reside in the same directory as PUSHDIR.EXE &
POPDIR.EXE. You may rename PUSHDIR.EXE to anyothername.EXE, but it
will still create PUSHDIR.DAT. The only restriction on the function
of these utilities is PUSHDIR.EXE and POPDIR.EXE must reside in
the same PATHed directory.
Think of PUSHDIR.DAT as a stack.You may stack up multiple
directory locations with multiple calls to PUSHDIR. Subsequent
calls to POPDIR will pop the locations off the stack.
pushdir ; save directory and drive
cd \dark\side\of\the\moon ; move to a remote location
work ; do some work
popdir ; return to last PUSHDIRed dir
Author: Gordon Harris
3349 Humboldt Ave S
Minneapolis, MN 55408
Comments can be addressed to my
CompuSurve address: [72611,620]