MkDirectory

Demonstrates how to create a new directory.

Remarks

This example illustrates how to create a new subdirectory called: "test1" in the current working directory.

Code

 if( MkDirectory("test1") = 0 )then
   print "Failed to create test directory."
 else
   print "Created test directory."
 endif

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