This example illustrates how to set the current working directory to $PCIHOME/demo. Then, the full path of the current working directory is retrieved and printed out.
local string dir
local string savedir
savedir = GetCWD()
call SetCWD( GetPCIHOME() + "/demo" )
dir = GetCWD()
print dir
call SetCWD( savedir )
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.