CAPL Script

SetWritePath

Note This function is not available in case of adistributed environment. After drive letters and also between folders you have to enter two "" e.g.setWritePath("E:\testconfiguration\exercise").

Syntax

void setWritePath (char relativeOrAbsolutePath[]);

Function

This function sets the writepathfor the functionsopenFileWritewriteProfileStringandwriteProfileInt,writeProfileFloat,. The path can be given as absolute or relative to the currently active configuration.

Parameters

The file path as a string.

Return Values

SetWritePath("C:\\TEMP")– after the drive letter (e.g.  "C:") you have to enter two backslashes "\\"!

setFilePath