|
Getting Current Working Directory |
|
|
The working directory is the location in the file system from where the java command was invoked. It can be obtained by getting user.dir system property using java.lang.System class.
String curDir = System.getProperty("user.dir");
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.