User Guide
Software Crestron SIMPL+
®
152 z SIMPL+
®
Language Reference Guide - DOC. 5797G
GetCurrentDirectory
Name:
GetCurrentDirectory
Syntax:
STRING GetCurrentDirectory()
Description:
Returns the complete path name of the current working directory. Refer to “Relative
Path Names” on page 14 for a discussion of setting the current directory.
Parameters:
None.
Return Value:
String containing the current directory. If an error occurs, string length equals 0.
Example:
(Refer to "File Functions Overview"on page 116)
PRINT( “The current directory = %s\n”,
GetCurrentDirectory());
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only