Nesting of Scripts

Frequently used functions can be stored and used centrally. This way changes affect all scripts based on them. For this purpose, the integration of scripts is supported via a special instruction:

<!--#include file="c:\scripts\include.vbs"-->

The statement is replaced by the complete contents of the specified file. #include statements like all other pragmas and options must always be placed on a separate line to be handled correctly by the preprocessor.

Note: All scripts included in this way must use the same script language as the main script itself. A mixture of several languages is not possible and leads to syntax errors.

If the scripts are located below the program directory of the application/EXE, the %APPDIR% variable can be used instead of a fixed directory specification:

<!--#include file="%APPDIR%\include.vbs"-->