Posted By:
Stephen_Ostermiller
Posted On:
Sunday, August 27, 2006 04:42 PM
Here is the crossplatform way to get to notes.log from the current directory given the relative structure of your example:
File getNotesLogFile(File currentDirectory){
return (
new File(
new File(
currentDirectory.getParentFile(),
"Logger"
),
"notes.log"
)
);
}