Assign USB drives to a folder

When a drive is mounted in Windows, it's normally assigned the next available drive letter, and using the disk management tool, you can force a disk to use a specific drive letter. It turns out you can even take this one step further and map a drive to a directory/folder path on another disk.

With this hack, you can have your external USB disk show up on "c:\usb", or anywhere else you like. Here's how:

  • Open the disk management utility: Start->Run>diskmgmt.msc
  • With the USB disk inserted, select the drive from the list.
  • Right-click and select "Change Drive Letter and Paths"
  • Click add and select the "Mount in the following empty NTFS folder"
  • Browse to the folder you want the disk to mount beneath

Now when the disk is inserted, it will always show up mounted beneath the directory of your choosing.

This could come in handy if you have a folder that's filling up your disk. Normally if you move it to another disk, it affects a bunch of paths (especially if it's your program files or something on your desktop). With this tip, you could add another drive, move the contents of the directory to it, and then mount it beneath the former directory.

Assign USB Drives to a Folder [via Lifehacker]


Recent Entries

Comments

Oldest comments listed first.

Posted by: bachterman on March 30, 2008 at 9:55 PM

pretty good stuff!
i usually map my pendrives to a: and b: (the bigger one to b, because it's more authentic that way) so they resemble the archaic 1,2" and 1,44" fdd drives. only with a bit more capacity. :)


Posted by: bachterman on March 30, 2008 at 9:57 PM

pretty good stuff!
i usually map my pendrives to a: and b: (the bigger one to b, because it's more authentic that way) so they resemble the archaic 1,2" and 1,44" fdd drives. only with a bit more capacity. :)


Posted by: llauren on March 31, 2008 at 2:53 AM

But will the mappings persist? Will this hack make my grey USB drive to map to c:\mnt\usb\grey and my black USB drive to map to c:\mnt\usb\black, no matter which one i should plug in first?

Having my pictures or my music on an external drive that jumps drive letters depending on what was plugged in before has really caused me frustration when the picture or music database says the file is in one place and the file system says it's elsewhere.

Linux could do this, right? With disk labels?


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
MAKE: en EspaƱol MAKE: Japan


Check out all of the episodes of Make: television

Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter

    MAKE's RSS feed is here.
    Add MAKE to iGoogle - GoogleGoogle.
    How to add MAKE to your RSS reader - Real simple.
    Add MAKE on FriendFeed




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Making Char Cloth Learn how to make a cheap and effective fire starter made from an old t-shirt. To download The Char Cloth video click here and subscribe in iTunes. See Char Cloth in action with the Fire Piston from William Gurstelle.... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education

    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog