Returns the location of the Silk Test Classic executable, partner.exe, on the local machine.
sDir = GetExecutableDir()
Variable | Description |
---|---|
sDir | Returns the location of the Silk Test Classic executable, partner.exe, on the local machine. STRING. |
GetExecutableDir returns the short form of the directory and appends the appropriate directory delimiter for your platform.
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)