ChangeProtection

Demonstrates how to change the protection mode of a file.

Remarks

In this example, ChangeProtection() is used to change the file protection of the file READONLY to read/write.

The READONLY file must be in the current directory.

Code

 Call ChangeProtection("READONLY", "RDONLY")

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