Availability
$WBRUN is available for use with all WBSP commands in
scripting languages listed in Execute variable of WBSP.ssc file.
Syntax
$WBRUN{scriptfilename|Language|function(fnargs)}
$WBRUN[scriptfilename|Language|function(fnargs)]
Parameters
scriptfilename - full path and file name of the file
where script code is stored
language - name of the scripting language used in
script (e.g. JavaScript, VBScript, JScript, etc.)
function - name of the
function that should be executed - fnargs are arguments required by the script
function, not by the WBSP
Returns
Result returned by script
function.
Example
File getfilesize.vbs
After running this example, the resulting page in web browser may look like this: