Solved

program that auto assign drive letter to a usb removable disk

Posted on 2011-03-10
9
975 Views
Last Modified: 2013-12-17
here is situation
i have usb removable drives and once a while xp system does not auto assign drive letter to removable drives after plugging in

so i need a little program that can auto detect where there is  usb removable drives exist and have drive letters assigned already, if there are removable drives and no drive letters are assigned, then assign the next available drive letter to it.

i hope this can be done by c#
however, i have been looking around, but no luck on my own programming.

can someone provide a complete code?
0
Comment
Question by:Ikelca
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 5

Accepted Solution

by:
rubikru earned 125 total points
ID: 35106058
0
 
LVL 14

Expert Comment

by:systan
ID: 35107391
hi
It's not c_sharp, but it surely assigned drive letters directly.
It's freeware.
http://www.softpedia.com/progScreenshots/DriveLetterView-Screenshot-181705.html
0
 
LVL 14

Assisted Solution

by:systan
systan earned 125 total points
ID: 35107396
Here's another one;
http://www.softpedia.com/get/System/System-Miscellaneous/USBDLM.shtml

Yes, this can be done in c_sharp, but needs time to develop the code.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 14

Expert Comment

by:systan
ID: 35107517
This one is better;
http://www.softpedia.com/get/System/System-Miscellaneous/USBDLM.shtml
Documentation; How to;
http://www.ghacks.net/2007/11/04/permanently-assign-drive-letters-to-usb-devices/

It can be develop also in c_sharp, but like I said, it needs time.  The source code of this is poorly distributed.
0
 

Author Comment

by:Ikelca
ID: 35108390
thanks guys, but I want to learn C#  that's why i want the code
0
 
LVL 11

Expert Comment

by:Sudhakar Pulivarthi
ID: 35108478
0
 

Author Comment

by:Ikelca
ID: 35163695
i believe assign drive letter to physical drive is different from mapping a network drive from programming aspect.
0
 
LVL 11

Assisted Solution

by:Sudhakar Pulivarthi
Sudhakar Pulivarthi earned 250 total points
ID: 35163722
0
 
LVL 11

Assisted Solution

by:Sudhakar Pulivarthi
Sudhakar Pulivarthi earned 250 total points
ID: 35163773

WinXP just does not consider a logical/Network drive as a physical drive letter mapping
http://www.softwaretipsandtricks.com/forum/windows-xp/8725-usb-drive-letter-issue.html
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question