@DIRSTACKNot in LE
Print Topic  Return to Overview  Previous Topic  Next Topic 

@DIRSTACK[n] :  Returns the name of the nth entry in the directory stack. The oldest is number 0. If no n parameter is specified, returns the total number of entries in the stack. The directory stack is set by calls to PUSHD / POPD.

    

Numeric input may be entered in either decimal format (series of digits 0-9) or in hexadecimal format ("0x" followed by a sequence of 0-F hex digits).

 

See also:  DIRS, POPDPUSHD and Directory Navigation.

 

Examples:

 

echo %@dirstack[0]

echo %@dirstack[2]

echo %@dirstack[]

 

 

 

Topic "f_dirstack.htm" last edited 4/28/2008. ©2008  JP Software, Inc.
Keywords: @DIRSTACK,Directory Stack