http://www.mkyong.com/java/how-to-get-the-current-working-directory-in-java/
public class App{ public static void main (String args[]) { String workingDir = System.getProperty("user.dir"); System.out.println("Current working directory : " + workingDir); } }
沒有留言:
張貼留言