|
How to get the name of the current working directory |
|
|
This Java tip illustrates a way of getting the name of the current working directory. The working directory is the location in the file system from where the
java command was invoked.
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.