The moose likes I/O and Streams and the fly likes Get detail of all drives(including external discs) having specific files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "Get detail of all drives(including external discs) having specific files" Watch "Get detail of all drives(including external discs) having specific files" New topic
Author

Get detail of all drives(including external discs) having specific files

Dtech Pace
Greenhorn

Joined: Nov 19, 2011
Posts: 2
Hi,

I wish to search entire system along with external hard drives, for specific files.
Suppose, we have so many files (eg. 19112011_JavaFile.zip) at various locations on different drives.
Now, I wish to get details of all drive paths where these type of file exists.

Kindly help me with some code.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 26716
Welcome to the Ranch
Rob, Roberto or Jelle will probably move this thread because it is not GUI-related.
We do not simply give out code; there are two sections in the Java Tutorials which I think would be helpful.
Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18368

Off to I/O we go!


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
 
subject: Get detail of all drives(including external discs) having specific files
 
Threads others viewed
Harddisk drive
Hard Disk Drive
file parsing in drive (how many drives )
Retrieve list of drives in Win and Mac OSX
Why can't Macs have easily swappable hard drives?
IntelliJ Java IDE