-
hai
hai everybody.. this is aarthi. i m currently working in iWay tools that is used for integration, in which my part will be creating customization codes in java.
i want to know how to start a command prompt window using a simple java code. i mean to say, while i run a java program, the program must display or pop up a command prompt automatically.
can anyone help me out in this???
Thanks in advance....
-
Welcome to the forum.
try this in your code,
Code:
Runtime.getRuntime().exec("cmd"); // For windows.