Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a set of USB drives (e.g. WD My Book) with different test data sets in different directories. I need to mount these directories as a drive letter.

To accurately test the behavior, this drive letter must act as a local, or non-removable, drive. A simple subst propagates the type of drive, in this case USB removable drive.

How do i get this drive to pretend that is is local?

Cheers

share|improve this question

migrated from stackoverflow.com Apr 8 '11 at 22:07

This question came from our site for professional and enthusiast programmers.

Try a virtual machine. You should be able to configure it with any combination of fixed and removable drives.

share|improve this answer
    
Which one will allow me to specify which drives are removable? – Richard Haven Apr 8 '11 at 6:14
    
@Richard: I know that VMWare Workstation allows mounting a fixed drive from any file (you'd encode your data set into a "virtual disk" file) and also passthrough of a USB disk. In the first case, the guest OS will see a SCSI or ATA fixed disk, in the second case a USB removable drive. But other VM solutions should work as well. – Ben Voigt Apr 8 '11 at 13:38

there is nice litte app doing that for you

http://www.uwe-sieber.de/usbdlm_e.html

USBDLM can for newly attached USB drives check if the letter is used by a network share of the currently logged on user and assign the next letter that is really available reserve letters, so they are not used for local drives assign a letter from a list of new default letters, also dependent on many different criteria as the active user, drive type, connection (USB, FireWire), USB port, volume label, size and others extract the letter from the volume label assign letters for a specific USB drive by putting an INI file on the drive remove the drive letters of card readers until a card is inserted show a balloon tip with the assigned drive letter(s) define autorun events depending on many different criteria activate a basic protection against 'BadUSB' devices; USBDLM can ask on arrival of a USB keyboard device if it shall be activated

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .