This function specifies the name of the script (.vbs file) containing the functions to be executed. The directory does not need to be specified as a parameter if the file is located in the same directory as the executable code. Calling the function a second time renders the previous script unavailable.
Context
Windows client,
Windows server.
Parameters
ALPHA(n) |
ScriptFileName |
Name of the .vbs file and its directory (if any) |
Input parameter |
||||||||||
NUM_BIN_4 |
ReturnCode |
Return code for the operation Possible values:
|
Output parameter |
Example
NUM_BIN_4 ReturnCode
CALL_DLL 'VaToCom 'AddScript' 'WinAdmin.vbs' ReturnCode
CALL_DLL 'VaToCom 'AddScript' 'd:\ScriptDir\WinAdmin.vbs' ReturnCode