GetExecutableDir Function

Action

Returns the location of the Silk Test Classic executable, partner.exe, on the local machine.

Syntax

sDir = GetExecutableDir()
Variable Description
sDir Returns the location of the Silk Test Classic executable, partner.exe, on the local machine. STRING.

Notes

GetExecutableDir returns the short form of the directory and appends the appropriate directory delimiter for your platform.

Example

If Silk Test Classic is installed in c:\program files\Silk\Silk Test, then the following Print statement returns c:\ progra~1\Silk\Silk Test\.

const sDir = GetExecutableDir()
print(sDir)