Using Runtime exec() to open java on other directory
843798Jun 23 2001 — edited Jun 26 2001HI, I have a little problem and i hope everyone can help me out abit. You see when u use Runtime.exec(), how to you use it so that when the file you want to open is different from your program directory.
For example,
my program is in c:\windows\desktop
but the file i want to open eg. Somthing.class is in c:\my documents\
How do I open it using java and i wish to open the file using the java command. Thank a million