Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 8 Next »

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;
  • No labels