When I try and write a file like this:
FileWriter fw=new FileWriter("settings.xml");
fw.write("asd");
fw.flush();
fw.close();
It dosnt write anything to the file but dosnt cause an
exception either. When I try this:
FileWriter fw=new FileWriter("/home/auser/settings.xml");
fw.write("asd");
fw.flush();
fw.close();
It works.
How do I get the path name of my current directory?