Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-20-2008, 07:07 AM
Member
 
Join Date: Jan 2008
Location: Dhaka, Bangladesh
Posts: 5
sharafat is on a distinguished road
How to detect USB device drives & set/remove file attributes
I want to write a program which will detect the drive letter when a usb device is plugged in. i.e., if a usb device is plugged in and the drive letter is "E:", then my program will instantly detect the presense of the device as well as get the drive letter. How's that possible in Java?

Also, I want to set or remove a file attribute (read-only/hidden etc.). How can I do it?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using static and final attributes – An example (II) JavaForums Java Blogs 0 03-06-2008 12:40 PM
Detect loading of ImageIcon from URL? barkster Java Applets 1 01-29-2008 08:04 PM
How to read attributes and values in a xml file using servlet pragathi_forum Advanced Java 1 12-18-2007 06:46 PM
How to remove Control Characters from an input file? renjan Advanced Java 0 08-01-2007 04:33 PM
Detect TimeOut in a HttpURL Connection Ed Advanced Java 2 07-02-2007 05:29 PM


All times are GMT +3. The time now is 02:13 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org