SourcePoint AMD Help

Table of Contents

cwd

Set or display the current working directory.

Syntax

cwd [pathname]

Discussion

The current working directory is the default path that SourcePoint uses to locate files.  This applies to all commands that accept a filename as an input.  The cwd command without an argument displays the current working directory.

Note:  The cwd command is deprecated.  Use the defaultpath control variable instead.

Example 1

To display the current working directory:

Command input:

cwd

Result:

c:\Program Files\Arium\SourcePoint

Example 2

To set the current working directory:

Command input:

cwd c:\temp

cwd

Result:

c:\temp

Example 3

To change to a new cwd relative to the existing cwd:

Command input:

cwd samples
cwd

Result:

c:\Program Files\Arium\SourcePoint\Samples

Related Topics: