Open a File in Runtime in Java

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:

  1. What is "CLR(Common Language Runtime)"
  2. How to open an application, file Using Shell execute in .net
  3. Create a Stored Procedure within a Stored Procedure
  4. How to Embed a Flash File into C# Window Form?
  5. Java with Sql Server
You can leave a response, or trackback from your own site.

Leave a Reply

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars