SetCWD()

  SetCWD

Description

SetCWD() is used to change the current working directory.

Call Signature

int SetCWD ( string new_directory )

Return Value

int

1 is returned if the call succeed. 0 is retured if it fails.

Argument

string new_directory:

A string representing the new directory.

Remarks

The change of current working directory affects the entire EASI process, even after the responsible procedure terminates. This means that access to the PRM.PRM file may be disturbed by changing directories.

See also

GetCWD()

GetDirectory()

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.