Products Downloads


French version


 

 

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:

0

The operation was completed successfully. 

1

An unspecified error occurred.

3

The file was not found.

6

The DLL has not been initialized.

other

A system error occurred.

Output parameter

 

 

Example

NUM_BIN_4 ReturnCode

 

CALL_DLL 'VaToCom 'AddScript' 'WinAdmin.vbs' ReturnCode

CALL_DLL 'VaToCom 'AddScript' 'd:\ScriptDir\WinAdmin.vbs' ReturnCode

 

 

 

↑ Top of page

  • Aucune étiquette