Re: How can i know the path of the file opened in editor???
Monday, April 21, 2008 08:01 AM
I think I can get you started on this one but may not get you all the way to your full solution. If you use the System.getProperty("user.dir") call in your program you will be return the path to the project directory of your Eclipse project, its usually is the full path in the form of a String...to get the file name also may involve getting the file name and appending to this path, their may be another System.getProperty call that might do that for you....hope that helps a little.