SetRegistryPCI()

Description

SetRegistryPCI() is used to create or set registry values in the standard PCI registry path for Windows.

Call Signature

int SetRegistryPCI ( string registry_name, string registry_value )

Return Value

int

A non-zero value is returned for success; 0 is returned for failure.

Arguments

string registry_name:

A string expression evaluating to a PCI registry name

string registry_value:

A string expression containing the information to put in the registry.

Remarks

The default path used by PCI is: HKEY_LOCAL_MACHINE/Software/CATALYST Professional

Example

This script changes the PCIHOME registry


 if ( SetRegistryPCI("PCIHOME","/home/newPCI") > 0 )

then print "PCIHOME has been set"
endif

See also

Registry functions

GetRegistryPCI()

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