Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » setWritePath

setWritePath

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE Note
This function is not available in case of a distributed environment.
After drive letters and also between folders you have to enter two ”\” e.g. setWritePath("E:\\testconfiguration\\exercise").

Function Syntax

void setWritePath (char relativeOrAbsolutePath[]);

Description

This function sets the write path for the functions openFileWrite, writeProfileString, writeProfileInt, writeProfileFloat. The path can be given as absolute or relative to the currently active configuration.

Parameters

The file path as a string.

Return Values

Example

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