AmigaOS 4.0 - About OS4 - Commands
||Save the current directory on a stack and optionally change it.
[<directory name | pattern>]
PUSHCD saves the current directory onto a stack; if an optional <directory name> or
<pattern> is provided, the current directory will be saved first and then changed. The PUSHCD
command can be undone with the POPCD command.
Up to 100 directories can be pushed onto the stack.
3.OS4:> CD Work:Examples
3.Work:Examples> PUSHCD Ram:
3.RAM Disk:> POPCD
illustrates how the current directory can be pushed onto the stack before changing to a new directory, and then the previous directory can be popped
from the stack later.
See also: CD, POPCD, SWAPCD.
Return to Commands Selection
Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences
and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held
accountable for any issues that may result from using it.
Copyright © 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.