|
|
Q4078 In C, I can use the system function to execute DOS-like commands e.g system("dir"); is there an equivalent in Java?
irt.org | Knowledge Base | Java | Q4078 [ previous next ] Q4078 In C, I can use the system function to execute DOS-like commands e.g system("dir"); is there an equivalent in Java?Please check out the "java.lang.Runtime" package. There you have methods like:
|
-- div -->
|