Take Command / TCC Help v. 13.03

DIRS

Hide Navigation Pane

DIRS

Previous topic Next topic No directory for this topic No expanding text in this topic  

DIRS

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

Purpose:Display the current directory stack.

 

Format:DIRS [+n -n /Q]

 

+n / -nRotate the directory stack up or down n entries

/Q(uiet)

 

See also: PUSHD, POPD, @DIRSTACK and Directory Navigation.

 

Usage:

 

The PUSHD command adds the current default drive and directory to the directory stack, a list maintained by TCC. The POPD command removes the top entry of the directory stack and makes that drive and directory the new default. The DIRS command displays the contents of the directory stack, with the most recent entries on top (i.e., the next POPD will retrieve the first entry that DIRS displays).

 

For example, to change directories and then display the directory stack:

 

[c:\] pushd c:\database

[c:\database] pushd d:\wordp\memos

[d:\wordp\memos] dirs

c:\database

c:\

 

The directory stack holds 4096 characters, enough for 80+ typical drive and directory entries.

 

Options

 

/QDon't display the directory stack (only useful when combined with +n or -n).

 

Comments (...)