Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Colleen Burton   on Jun 23 In Java Category.

  
Question Answered By: Luki Fischer   on Jun 23

You can solve  the problem using File class from java.io package.
It works with all kinds of paths. It has methods to find  out if you
are dealing with a file or directory. getAbsolutePath(path) gets
the absolute path, current path  using getPath() and list() gets the
directory listing.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How to detect drive letters in Windows machine? Or get search suggestion and latest updates.


Tagged: