Set the current working directory of a script.
bool SetWorkingDir <string:PathName>
Name | Type | Comment |
---|---|---|
PathName | string | The full path to the desired working directory of the script. |
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
None.