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.
| ||||
See Also
| |||||
Example
| Sub Main() Debug.Print SQL.RunProgram("NET USE O: \\SERVER\ODRIVE /PERSISTENT:YES") ' True End Sub | ||||