Professional Documents
Culture Documents
CC
Solutions to CD/DVD
Home » Windows » Map a Folder to a Drive Letter for Quick and Easy Access Letter Missing from
Get 1 month free of
Computer
Map a Folder to a Drive Letter for Quick artists7 Ways
and topodcasts
Hide Driv
With hard drives having such huge capacities these days, it’s not unheard Use your Web Brow
of for some people to have millions of files spread across their system. View Windows Hidd
When you have a lot of files it is really important that everything is stored Protected Files or Fo
in a well ordered directory structure so files can be found more easily. For
the less organized there are tools to quickly search the contents of your
drives.
Of the 26 drive letters available on your system, probably only a few are
in use. That leaves several free letters that could be used for this purpose.
Although it’s easy to map a network folder to a drive letter, mapping a SEARCH RAYMOND.CC
local folder to a drive letter is slightly more difficult. Here are some ways
to do it. Search the site
Make sure to enclose the folder path in quotes if it contains spaces. Type
Subst without arguments to check the mapping has worked as you are
artists7 Ways
and topodcasts
Hide Driv
Letters or Partitions
not notified if it was successful. you love withinPrem
Appearing My Co
and Explorer
Monthly subscription fee applies after. Limited eligibility, ter
5 Tools to get Quick
Access in Explorer W
and Dialogs
To remove the mapping enter the drive letter and add the /D argument:
SUBST X: /D
Mapping a folder to a drive letter with Subst isn’t permanent and you will
lose the association after rebooting or logging off. Therefore, the delete
command is only needed to remove the mapping immediately without
TRY PRE
restarting.
2. Right click on Run > New > String Value. Give it a name such as “Map
X” SUGGESTED READING
3. Double click on the name and for Value data enter the Subst command NEW ARTICLES
Solutions to CD/DVD
like above. For example: Letter Missing from
How To Disable
Computer
AVG Zen And
Subst X: D:\downloads\work\myfiles
Uninstall
7 Ways toAvira
Hide Driv
Connect Letters
Launcheror Partitions
Appearing in My Co
7 Chromium
and Explorer
Based Browsers
With Extra
5 Tools to get Quick
FeaturesAccess in Explorer W
and Dialogs
5 Free
Automatic Kill Brow
Use your Web
Switches for Hidd
View Windows
Unexpected VPN
Protected Files or Fo
Disconnection
Close Regedit and after you reboot or logon, the Subst mapping will
automatically be created.
Shop Now
After launching vSubst, select the desired drive letter to map the folder to,
then click Add. A small dialog will popup where you can manually type the
https://www.raymond.cc/blog/map-folder-or-directory-to-drive-letter-for-quick-and-easy-access/ 3/12
4/13/2020 Map a Folder to a Drive Letter for Quick and Easy Access • Raymond.CC
path or locate it with the Select button. The new mapping will immediately POPULAR POSTS
appear in the substituted folders list. Just highlight an entry and press SUGGESTED READING
Remove to delete the drive and free up the letter. 10 Free
Software
Solutions to
to CD/DVD
The Persistent button will place an entry for vSubst in the Users Run Mount ISO
Letter Missing from
startup key in the registry, similar to the manual method above. The Image Files as Virtual
Computer
vSubst executable will be copied to the Windows folder so make sure to Drives
run vSubst as administrator or the copy to Windows might fail. 7 Ways to Hide Driv
Top 10 Sites
Letters to
or Partitions
Download vSubst Receive SMS
Appearing in My Co
and Explorer without
Online
Run Subst From A Batch Script a Phone
5 Tools to get Quick
You can easily make your own batch script with just a couple of lines but Top 10 Best
Access in Explorer W
this ready made script called Psubst is more Advanced. Its main purpose Free Keylogger
and Dialogs
is to make drives mapped in Subst persistent so they survive a reboot. Software to
Use your Web
Monitor Keystrokes in Brow
Use this script from Command Prompt or another script (run as
administrator) like you would use Subst. WindowsView Windows Hidd
Protected Files or Fo
The arguments are virtually the same as Subst. The only difference is
adding /P to the command will make the mapping persistent and it will
remain after a reboot. It does this by adding an entry to Dos devices in
the registry.
“Psubst [Drive:] /D /P” will remove a persistent drive, “Psubst /P” will list
current persistent drives, and “Psubst [Drive:] /D” will just remove a
normal mapped drive. Adding a mapping with /P will only add its entry to
the registry which will take effect on the next reboot. To also map the
folder immediately you will need to run the same command again but
without /P.
https://www.raymond.cc/blog/map-folder-or-directory-to-drive-letter-for-quick-and-easy-access/ 4/12
4/13/2020 Map a Folder to a Drive Letter for Quick and Easy Access • Raymond.CC
Download Psubst
SUGGESTED READING
Using a program that can convert a batch file into an executable, Psubst
can be made into a standard .EXE file. You can do this yourself by using a Solutions to CD/DVD
Bat to Exe tool. Letter Missing from
Computer
Create A Mapped Folder With A Third Party Tool
7 Ways to Hide Driv
Visual Subst is a simple to use tool that allows you to create a number of Letters or Partitions
drive mappings quickly and easily. The program is portable and only Appearing in My Co
137KB in size. Although it uses the same API as Subst, the mappings and Explorer
created in Visual Subst are not visible when using Subst on the command
5 Tools to get Quick
line.
Access in Explorer W
and Dialogs
Select the drive letter from the drop down menu and enter the path to the
folder manually or browse for it by pressing the magnifying glass on the
right. Then press the Plus button to assign the mapping and it will appear
in the main window.
Checking the box at the bottom will silently run Visual Subst during
startup to assign the drive letters. Delete the mapped drive with the X
button or save any changes to a current mapping with the disc icon.
\??\D:\Downloads\Work\MyFiles
blockquote>
4. Close the registry editor and reboot the computer as this key is only
read during startup. Upon rebooting, the mapping will show in Explorer in
the list of hard drives.
If you decide to create a .REG file to add or edit Dos devices, add a
second backslash to every backslash in the folder path. It won’t work
otherwise. An example .REG file of the above would be:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\DOS Devices] SUGGESTED READING
“X:”=”\\??\\D:\\Downloads\\Work\\MyFiles”
Solutions to CD/DVD
Letter Missing from
Map A Folder Via The Windows User Interface Computer
There’s an option to map a network folder to a drive letter in Windows
7 Ways to Hide Driv
Explorer. It’s not possible to map a local folder in this window by using the
Letters or Partitions
browse button because it only displays network locations. However, with
Appearing in My Co
creative use of network paths, it’s easy to map a local folder to a drive
and Explorer
letter from the Map Network Drive window.
5 Tools to get Quick
1. In Windows Vista or 7 open Explorer, press Alt and go to Tools > “Map Access in Explorer W
network drive”. In Windows 10 or 8 open Explorer and make sure you are and Dialogs
in the Computer tab. Press “Map network drive”.
Use your Web Brow
2. In the Drive box drop down, select the drive letter to assign to the View Windows Hidd
folder. Protected Files or Fo
3. For Folder do not press Browse but Instead enter the following into the
text box using your own arguments:
\\Localhost\[Drive]$\Pathtofolder
or:
\\Computername\[Drive]$\Pathtofolder
https://www.raymond.cc/blog/map-folder-or-directory-to-drive-letter-for-quick-and-easy-access/ 7/12
4/13/2020 Map a Folder to a Drive Letter for Quick and Easy Access • Raymond.CC
Using just Localhost should be fine for most users. Otherwise, use
Computername which is the computer’s name. Find the name in System SUGGESTED READING
Properties. Right click Computer/This PC > Properties or press
Win+Pause. Solutions to CD/DVD
Letter Missing from
For Drive you must use a drive letter in the path and substitute the colon Computer
for a dollar sign ($). A couple of examples would be:
7 Ways to Hide Driv
Letters or Partitions
\\localhost\D$\downloads\work\myfiles
Appearing in My Co
and Explorer
or using the computer name:
5 Tools to get Quick
\\MyDesktopPC\C$\users\raymondcc\desktop\myfiles\downloads\app Access in Explorer W
s and Dialogs
4. Leave the “Reconnect at sign-in” option checked if you want have the
folder mapped to the drive letter every time your computer starts or you
log on. Press Finish when done.
To remove the mapped folder simply right click on its drive in Explorer and
select Disconnect.
Although a mapped drive should automatically appear the next time you
logon, an extra argument can be added in case it doesn’t. Simply append
“/P:yes” to make the drive persistent and force reconnect at logon. Use
“/P:No” to force the drive to disconnect at logoff.
The Net Use command has an advantage over Subst because it doesn’t
constantly try to connect if the folder is not available. Subst will constantly
try to connect which can have an adverse effect on system performance.
https://www.raymond.cc/blog/map-folder-or-directory-to-drive-letter-for-quick-and-easy-access/ 9/12
4/13/2020 Map a Folder to a Drive Letter for Quick and Easy Access • Raymond.CC
Solutions to CD/DVD
Letter Missing from
Computer
Solutions to How to Create and
CD/DVD Drive Access Shared
Letter Missing from Folders in Windows
My Computer 7
So, when I use subst, the new drive letter shows up in the
command prompt. I can access via drive letter there, but it is
not showing up in my Windows 10 GUI, I can’t navigate to it
to save files or anything like that. Anyone else have that
problem?
Reply
Reply
These methods work well, but in Win 10, I have found that
whenever I delete a file from the “drive” it bypasses the
https://www.raymond.cc/blog/map-folder-or-directory-to-drive-letter-for-quick-and-easy-access/ 10/12
4/13/2020 Map a Folder to a Drive Letter for Quick and Easy Access • Raymond.CC
Thanks !
Reply
WOW..Simply superb..
Reply
Great information!
I tried sharing a folder and then mapping it as a drive but it
doesn’t work if you’re not connected to a network.
This way is definitely the elegant way of doing it.
Thank you!
Reply
M 9 YEARS AGO
Reply
SUGGESTED READING
Solutions to CD/DVD
eujenio 10 YEARS AGO
Letter Missing from
Great info, great tool. Managed to use up almost all of my Computer
drive letters :-)
7 Ways to Hide Driv
Reply Letters or Partitions
Appearing in My Co
and Explorer
Wayne 11 YEARS AGO
5 Tools to get Quick
Life saver, thanks!! Access in Explorer W
and Dialogs
Reply
Use your Web Brow
View Windows Hidd
Protected Files or Fo
Load More Comments
Leave a Reply
Your email address will not be published. Required fields are marked *
Note: Your comment is subject to approval. Read our Terms of Use. If you
are seeking additional information on this article, please contact us
directly.
Name
Post Comment
(c) 2020 Raymond.CC Blog Disclaimer Disclosure Privacy Policy Terms of Use Sitemap
https://www.raymond.cc/blog/map-folder-or-directory-to-drive-letter-for-quick-and-easy-access/ 12/12