Q4078 In C, I can use the system function to execute DOS-like commands e.g system("dir"); is there an equivalent in Java?
You are here: irt.org | FAQ | Java | Q4078 [ previous next ]
Please check out the "java.lang.Runtime" package.
There you have methods like:
Runtime r = Runtime.getRuntime();
©2018 Martin Webb