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.
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"-->