XRPi Home

Documentation Index
Alphabetic Index

XRPi Documentation - PZTDOS Commands

CD

Command

CD -- Change Working Directory

Synopsis

CD <dir>

Description

The CD command changes the "working directory" to the one specified by <dir>.

If <dir> is an absolute pathname, beginning with \ or /, it is used as specified, otherwise it is interpreted relative to the current working directory. The command recognises "." and "..", and both forward and reverse slashes may be freely mixed.

Portability

Unlike XR16/32, in XRPi this command does not support "drive letters", and pathnames (but not commands) are case-sensitive.

Examples

CD ../FRED
CD /home/john/XRPI

Availability

This is a sysop-only command, available only within PZTDOS.

See also

DOS(2) -- Enter PZTDOS mode