This function is used to send commands to the operating system running the Intent Kernel, returning 0 unless there is an error in the input. The function may behave differently for different operating systems. Also see the createProcess() function.
system ( command As String ) As Integer
Argument | Type | Description |
---|---|---|
command | String | The command string the operating system should execute. |
Intent >system("notepad") --> 0Result: the function first brings up a DOS window, runs the notepad command from that window, which brings up the notepad program.
Intent >system("cmd") --> 0Result: the function first brings up a DOS window. You may type DOS commands. Use "Exit" to close DOS window.