...
Table plus | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Return Type
String []
The routine function returns an array with 3 elements in such order:
...
Let's create a file using system routine function and windows command prompt:
...
Let's invoke a windows.bat script file using system routinefunction:
Code Block |
---|
string testfolder="c: /tests /"; //assuming this path exists. //we assume in this path a file called `myexec.bat` has been previously created and contains one line `echo Hello;` //now the following call will return `0.0|[THE_PATH_OF_EXECUTION]>echo Hello; Hello;|` return system ("C:/WINDOWS/system32/cmd.exe /c " + testfolder + "myexec.bat" ); |
...
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|