Solved

program that auto assign drive letter to a usb removable disk

Posted on 2011-03-10
9
981 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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