Monday, June 17, 2013

Persistent Mapping of Windows Folder to a Drive

Have you ever wanted to a persistent mapping of a perticular folder to a drive to keep things segregated? I wanted to do it, because in office we were not supposed to partition the C: drive for some reason which I don't know.

So here is how you do it. You need to a Registry Entry for the new Drive. Open Regedit and make an entry as below.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Dos Devices]

Name - Z: (Drive letter you want to use)
Value - \??\C:\Users\pshetty1\2560P

You can go ahead and hide this folder in C Drive, so that you don't want to see here :). You need to restart the PC to see the changes.

No comments:

Post a Comment