home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / pushpop.zip / PUSHPOP.DOC < prev   
Text File  |  1993-11-26  |  2KB  |  44 lines

  1. PushPop.LZH  Documentation (From Matthew C. Harber)
  2.  
  3.  
  4. File list
  5. ─────────
  6. DD.CMD       Push Directory :       Pushes a directory onto the stack.
  7. DU.CMD       Pop Directory :        Pop directory front end.
  8. POP.CMD      REXX pop directory :   REXX code to pop the directory.
  9. ND.CMD       New Directory :        Makes a new directory, puts current
  10.                                     directory on stack, goes to new directory.
  11. JD.CMD       Jump Directory :       Jumps to directory, does NOT change stack.
  12.  
  13.  
  14. Synopsis
  15. ────────
  16. To install, copy/unarchive into a directory in the OS/2 path.
  17.  
  18. These are some OS/2 command line utilities (They are 4DOS/4OS2 similar) I wrote
  19. to aid in directory jumping.  They use an environment variable, "DIRSTK", to
  20. stack past directories so that you can return to them if you choose.
  21.  
  22. To change directories to a new directory and to place the current directory on
  23. the directory stack, type "DD <new dir>".  To back up the stack one directory,
  24. type "DU".  To create a new directory, putting the current directory on the
  25. stack and moving into the new directory, type "ND <new dir>".  To jump to
  26. a different directory without changing the stack, type "JD <new dir>".
  27.  
  28. Note:  All of these utilities use the REXX Directory function and are
  29.        therefore Drive AND Directory aware.  This means that, in addition to
  30.        specifying the directory you want to switch to, you can specify an
  31.        entire fully-qualified path (i.e., DD D:\TOOLS\REXX).
  32.  
  33.  
  34. Examples
  35. ────────
  36. DD D:\TOOLS\REXX     Pushes current directory onto stack, jumps to the
  37.                      D:\TOOLS\REXX directory.
  38. JD D:\TOOLS\REXX     Jumps to the D:\TOOLS\REXX directory.
  39. DU                   Removes the last directory entry from the stack and jumps
  40.                      to that directory.
  41. ND D:\TOOLS\NEW      Makes the D:\TOOLS\NEW directory (if not existing), then
  42.                      jumps to that directory.
  43.  
  44.