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]

Posted by Jason Striegel | Mar 30, 2008 08:29 PM
Windows | Permalink | Comments (3) Bookmark and Share

Recent Entries

Comments

Newest 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



Bloggers

Welcome to the Hacks Blog!

Brian Jepson.Brian Jepson


Jason Striegel.Jason Striegel


Philip Torrone.Phillip Torrone



See all of the books in the Hacks Series!
Advertise here.

Recent Posts

www.flickr.com
photos in Hacks More photos in Hacks

Most read entries (last 30 days)