GetStartupDir Function

Action

Returns the location of the include files that Silk Test Classic uses at startup.

Syntax

sDir = GetStartupDir( )
Variable Description
sDir The directory in which the include files of Silk Test Classic reside. STRING.

Notes

GetStartupDir appends the appropriate directory delimiter for your platform.

Example

If Silk Test Classic is installed in c:\myprogs, then the following Print statement returns:"c:\myprogs\exercise".

const sDir
sDir = "{GetStartupDir()}exercise"
print(sDir)