home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
pushpop.zip
/
PUSHPOP.DOC
< prev
Wrap
Text File
|
1993-11-26
|
2KB
|
44 lines
PushPop.LZH Documentation (From Matthew C. Harber)
File list
─────────
DD.CMD Push Directory : Pushes a directory onto the stack.
DU.CMD Pop Directory : Pop directory front end.
POP.CMD REXX pop directory : REXX code to pop the directory.
ND.CMD New Directory : Makes a new directory, puts current
directory on stack, goes to new directory.
JD.CMD Jump Directory : Jumps to directory, does NOT change stack.
Synopsis
────────
To install, copy/unarchive into a directory in the OS/2 path.
These are some OS/2 command line utilities (They are 4DOS/4OS2 similar) I wrote
to aid in directory jumping. They use an environment variable, "DIRSTK", to
stack past directories so that you can return to them if you choose.
To change directories to a new directory and to place the current directory on
the directory stack, type "DD <new dir>". To back up the stack one directory,
type "DU". To create a new directory, putting the current directory on the
stack and moving into the new directory, type "ND <new dir>". To jump to
a different directory without changing the stack, type "JD <new dir>".
Note: All of these utilities use the REXX Directory function and are
therefore Drive AND Directory aware. This means that, in addition to
specifying the directory you want to switch to, you can specify an
entire fully-qualified path (i.e., DD D:\TOOLS\REXX).
Examples
────────
DD D:\TOOLS\REXX Pushes current directory onto stack, jumps to the
D:\TOOLS\REXX directory.
JD D:\TOOLS\REXX Jumps to the D:\TOOLS\REXX directory.
DU Removes the last directory entry from the stack and jumps
to that directory.
ND D:\TOOLS\NEW Makes the D:\TOOLS\NEW directory (if not existing), then
jumps to that directory.