Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

program that auto assign drive letter to a usb removable disk

Posted on 2011-03-10
9
Medium Priority
?
1,013 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 500 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 500 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 1000 total points
ID: 35163722
0
 
LVL 11

Assisted Solution

by:Sudhakar Pulivarthi
Sudhakar Pulivarthi earned 1000 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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

572 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