home *** CD-ROM | disk | FTP | other *** search
- POPD version 1.2
-
- Usage:
- POPD
- Will change to the most recently stored directory on
- the stack.
- POPD +n
- Will delete the directory stored in position n from
- the bottom of the stack, starting at one on the bottom.
- Purpose: This program will either change to the topmost directory
- on the stack created by PUSHD v. 1.1 (first usage), OR
- will delete from the stack the directory stored at position
- n, where 1 is the bottom of the stack. In either case,
- the program will compress the stack, to remove any empty
- storage space, and will update the position for the next
- storage accordingly.
- Requirements:
- POPD v. 1.2 requires the use of PUSHD v. 1.1 or greater.
- Notes:
- POPD requires 1680 bytes free memory to run.
- Error Codes:
- 0) Successful completion.
- 249) Error popping directory.
- 250) Directory Stack is empty.
- 251) Command Line parameter exceeds Directory Stack depth.
- 252) Illegal Characters on the Command Line.
- 253) Command Line parameter not in valid directory range (1-6).
- 254) Invalid Command Line delimiter.
- 255) PUSHD is not installed.
- Version changes:
- POPD v. 1.2: July 23, 1990.
- enhanced code using suggestions from David
- Kirschbaum (Toad Hall).
- "cleaned out" directory stack characters that
- were left after a POPD, which might not be over-
- written on next PUSHD.
- POPD v. 1.1: July 14, 1990.
- added "+n" option.
- changed hooked interrupt to 13 from 16.
- added error codes for abnormal termination.
- changed writes from vector 9 to vector 40h of
- int 21h.
- changed program termination from int 20h to vector
- 4Cxxh int 21h, where xx represents the error code
- generated.
- removed stack wrap around.
- POPDIR v. 1.0: Copyright 1986, Ziff-Davis Publishing Co.
- From PC Magazine, May 27, 1986
- No changes.
- Future Enhancements:
- 1) Change the "n" parameters so that it refers to the
- top of the stack, not the bottom (RELATIVE from the top
- NOT ABSOLUTE from the bottom).
- 2) Make program an .EXE file.
- 3) Correct error caused by 3 or more blanks on the
- end of the command line tail.
- 4) Add a help option, ?, from the command line.
- 5) Add -c option to clear ALL directories on stack.
- 6) Add -n option to clear n topmost directories on stack.
-
- Created by:
- (from ideas based in UNIX and from PC Magazine's POPDIR.COM)
- William P. Sarra
- CIS:71041,347
- arpa: sarra@TOPAZ.RUTGERS.EDU
- uucp: ...{ames,cbosgd, harvard, moss}!rutgers!topaz.rutgers.edu!sarra
-
-
-