right i figure it out i was doing it right all along! :P
String[] commands = {"cmd", "any cmd command here", "you can do a series of commands", "eg cd C:/Users/Ollie/Documents"};...
Type: Posts; User: straw
right i figure it out i was doing it right all along! :P
String[] commands = {"cmd", "any cmd command here", "you can do a series of commands", "eg cd C:/Users/Ollie/Documents"};...
yess thats what im tryind to do! open up a cmd window the write some texts to it to before a task.
i tried searching google but i still dont really know what im looking for, it just comes up with...
Hi,
i have opened up using
String[] commands = {"cmd", "/c", fileLocation};
Runtime.getRuntime().exec(commands);
and now i need to write a couple of lines to the application. Please...