PUSHD

The PUSHD procedure pushes a directory onto the top of the directory stack maintained by the PUSHD and POPD procedures. The name of the current directory is pushed onto the directory stack. This directory becomes the next directory used by POPD. IDL changes directories to the one specified by the Dir argument. The common block DIR_STACK is used to store the directory stack.

This routine is written in the IDL language. Its source code can be found in the file pushd.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

PUSHD, Dir

Arguments

Dir

A string containing the name of the directory to change to. The current directory is pushed onto the top of the directory stack.

See Also

CD , POPD , PRINTD