Search:

Type: Posts; User: ggross

Search: Search took 0.31 seconds.

  1. Replies
    7
    Views
    653

    Re: Launching a File

    Yes. Do you have any ideas on what might be happening here?
  2. Replies
    7
    Views
    653

    Re: Launching a File

    When I try this Notepad opens, but it gives me an error stating "Cannot find the C:/WORK.txt file."

    Also I was just using the text file as an initial test, what I really want to accomplish is the...
  3. Replies
    7
    Views
    653

    Re: Launching a File

    Yes, I am just trying to open the file. After it is open I don't care what happens to the file. I tried using
    Runtime.getRuntime().exec("start C:/WORK.txt");

    but I get a

    java.io.IOException:...
  4. Replies
    7
    Views
    653

    Launching a File

    I am trying to launch a file when a button is pressed in my java program. I have read many solutions using the Runtime.getRuntime().exec() call but I can't get it working. I can't even get a file in...
Results 1 to 4 of 4