![]() |
Hello,
How can I open a text file in java code? I have a class that reads data from one file, and generates another txt file from it. At the end of the process, I wish to open the file (ie in Notepad, TextPad, etc). How do I do this?? |
try:
:
Runtime.getRuntime().exec("notepad.exe filepath/filename"); |
| All times are GMT -5. The time now is 2:54 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC