pushd

POPD コマンドで使用するために現在のディレクトリを保存し、指定したディレクトリに変更します。


pushd

  • help pushd

Output:

POPD コマンドで使用するために現在のディレクトリを保存し、
指定したディレクトリに変更します。

PUSHD [パス | ..]

  パス        現在のディレクトリとして設定するディレクトリを指定します。

コマンド拡張機能を有効にすると、PUSHD コマンドは、通常のドライブ文字
とパスだけでなくネットワーク パスも受け付けるようになります。
ネットワーク パスを指定した場合は、PUSHD は指定されたネットワーク
リソースを指し示す一時的なドライブ文字を作成し、新しく定義されたドライブ
文字を使って現在のドライブとディレクトリを変更します。一時的な
ドライブ文字は、Z: から前へ順に、最初に見つかった未使用のドライブ文字が
割り当てられます。
Stores the current directory for use by the POPD command, then
changes to the specified directory.

PUSHD [path | ..]

  path        Specifies the directory to make the current directory.

If Command Extensions are enabled the PUSHD command accepts
network paths in addition to the normal drive letter and path.
If a network path is specified, PUSHD will create a temporary
drive letter that points to that specified network resource and
then change the current drive and directory, using the newly
defined drive letter.  Temporary drive letters are allocated from
Z: on down, using the first unused drive letter found.

Return Code: 1


Built with Hugo
テーマ StackJimmy によって設計されています。