I want to access my current working directory using java.
My code :
String current = new java.io.File( \".\" ).getCanonicalPath(); System.ou
generally, as a File object:
File getCwd() { return new File("").getAbsoluteFile(); }
you may want to have full qualified string like "D:/a/b/c" doing:
getCwd().getAbsolutePath()