EasyManua.ls Logo

Crestron SIMPL+ - SetCurrentDirectory Function

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
182 z SIMPL+
®
Language Reference Guide - DOC. 5797G
SetCurrentDirectory
Name:
SetCurrentDirectory
Syntax:
SIGNED_INTEGER SetCurrentDirectory(STRING DirName)
Description:
Changes the working directory to the specified name. Refer to “Relative Path Names”
on page 14.
Parameters:
DIRNAME – string containing the name of the desired directory.
Return Value:
Returns 0 if successful and –1 if an error occurred.
Example:
(Refer to "File Functions Overview"on page 116)
IF( SetCurrentDirectory(“NewDirect”) < 0)
PRINT(“Error occurred creating directory\n”);
PRINT(“Directory is now: %s\n”, GetCurrentDirectory());
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals