Novice-Techies
A information site about the happenings on a Technology edge.
Monday, February 16, 2009
Listing all drives on a file system
You can list the drives of the system by using the listRoots() method of the File class:
File[] roots = File.listRoots();for(int i=0;i
System.out.println("Root["+i+"]:" + roots[i]);
source: java-tips.org
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Novice-Techies
View my complete profile
Blog Archive
►
2010
(71)
►
May
(8)
►
April
(16)
►
March
(16)
►
February
(16)
►
January
(15)
▼
2009
(174)
►
December
(16)
►
November
(15)
►
October
(16)
►
September
(15)
►
August
(15)
►
July
(15)
►
June
(15)
►
May
(16)
►
April
(15)
►
March
(15)
▼
February
(10)
Advantages of SQL server 2005 over SQL server 2000...
Making a file read only through Java
Java on Mainframe OS
Queued sequential access method
Listing all drives on a file system
Comparison of Oracle, DB2 and SQL SERVER
Advantage of ReadOnly over Constant variables in d...
CONVERTING FAT32 to NTFS in Windows XP:
Opening the same file for reading and writing
Why toString() is used in Java
►
January
(11)
►
2008
(63)
►
December
(15)
►
November
(14)
►
October
(8)
►
September
(5)
►
August
(2)
►
July
(4)
►
June
(2)
►
April
(2)
►
March
(1)
►
February
(10)
►
2007
(2)
►
August
(1)
►
February
(1)
►
2006
(6)
►
October
(1)
►
April
(2)
►
March
(1)
►
February
(2)
►
2005
(10)
►
November
(2)
►
October
(1)
►
August
(2)
►
July
(1)
►
April
(4)
Live Vijayawada
View Hyderabad City
Live Vijayawada
ViewHyderabad
Google News
Life-Love
ReadVijayBlog
easy weight loss program
No comments:
Post a Comment