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.
|string||yes||Path to serve as the current directory. This path must use forward slashes and may not be more than 260 characters long.|
Returns true if the operation was successful.
// Set the new working directory to be our temp folder.
boolean $wasSuccessful = `setDir "C:/Temp/"`;