![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e28. Getting the Current Working DirectoryThe working directory is the location in the file system from where thejava command was invoked.
String curDir = System.getProperty("user.dir");
e30. Deleting a Directory e31. Listing the Files or Subdirectories in a Directory e32. Listing the File System Roots e33. Traversing the Files and Directories Under a Directory
© 2002 Addison-Wesley. |