Search:

Type: Posts; User: straw

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    1,723

    [SOLVED] Re: How to write to an application

    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"};...
  2. Replies
    4
    Views
    1,723

    [SOLVED] Re: How to write to an application

    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...
  3. Replies
    4
    Views
    1,723

    [SOLVED] How to write to an application

    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...
Results 1 to 3 of 3