Table of Contents

SetWorkingDir

Description

Set the current working directory of a script.

Function prototype

bool SetWorkingDir <string:PathName>

Arguments

Name Type Comment
PathName string The full path to the desired working directory of the script.

Return value

Example

SetWorkingDir "C:\\this is a test"
echo <GetWorkingDir>

… the output of which is written to the event log by echo as:

C:\this is a test

Comments

None.

See also