NormalizePath

Demonstrates how a file path can be manipulated and represented on the local file system.

Remarks

The following example will find the pci demo file irvine.pix on any system. The Unix style path is converted into the appropriate format for the local file system whether it is Unix, or Window system.

Code

  local string file

  file = NormalizePath( GetPCIHOME() + "/demo/irvine.pix" )
  print file

Output

Sample Output for a Windows machine:

 c:\pci\demo\irvine.pix

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