SQL Object
 
Syntax
 
SQL.RunProgram(CommandLine)
 
Description
Executes an external program as specified in CommandLine and returns to the macro only after this program is stopped.
 
If the program was executed successfully, the function returns TRUE otherwise FALSE.
 
Parameter
Description
CommandLine
Path and file name to program. Similar to the start/execute function of Windows.
 
See Also
Example
 
Sub Main
 
  Debug.Print SQL.RunProgram("NET USE O: \\SERVER\ODRIVE /PERSISTENT:YES") 'True
 
End Sub