Open a File in Runtime in Java:
1.Create a Object For Process
2.exec is a method to open a File in Runtime
3.In the exec Method, we can give all the command which can be give in the Run Window
Process process=Runtime.getRuntime().exec(“notepad d:\demo.txt”);
4.If it cannot Work,Copy Exe File and Paste it in C:\Windows\System32
Popularity: 1% [?]
Related posts:

November 16th, 2008
admin
Posted in 
