By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,469 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,469 IT Pros & Developers. It's quick & easy.

HDD ID

P: n/a
**** Post for FREE via your newsreader at post.usenet.com ****

Hi,
Can read the HDD ID in java ? Or, for that matter, any other h/ware info ?
TIA,
Robert

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I think you can simply write:

File units[] = File.listRoots();
for(int i=0; i<units.length; i++)
System.out.println(units[i].getName());

"Robert" <ro*@fx.ro> wrote in message news:40******@post.usenet.com...
**** Post for FREE via your newsreader at post.usenet.com ****

Hi,
Can read the HDD ID in java ? Or, for that matter, any other h/ware info ?
TIA,
Robert

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.