/
setDir

setDir

Description

Specifies the current working directory.

The current directory is used by some Windows system commands. By default, the current directory is the Shogun Post root directory.

Functional area

System

Command syntax

Syntax

setDir "folderPath"

Arguments

NameTypeRequiredComments
folderPathstringyesPath to serve as the current directory. This path must use forward slashes and may not be more than 260 characters long.

Flags

None

Return value

boolean

Returns true if the operation was successful.

Examples

// Set the new working directory to be our temp folder.
boolean $wasSuccessful = `setDir "C:/Temp/"`;
print $wasSuccessful;

© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks