ISInterface:GetScriptCWD

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

bool GetScriptCWD(char *ScriptName, char *buffer, unsigned long buflen)

Purpose

Retrieves the current working directory for a given script

Usage

Parameters

  • char *ScriptName
[in] Name of the script
  • char *buffer
[out] Buffer to place the path in
  • unsigned long buflen
[in] Size of the buffer

Return Value

  • bool
Returns true if the function succeeded. The function will fail if the specified script does not exist

Examples

See Also