PDF download Download Article PDF download Download Article

Tired of browsing through long paths? There is a way you can map a drive letter to a long path. This will save a lot of time with frequently accessed folders. For example, you can map a long path like D:\Documents\John\Letters to the drive letter X.

Method 1
Method 1 of 2:

Thru Command Prompt

PDF download Download Article
  1. On Windows Vista or Windows 7, open the command prompt as default user, not as Administrator. The reason will be explained later.
  2. For example: SUBST X: "D:\Documents\John\Letters".
    Advertisement
  3. You should see a newly created drive letter X:, with which you can access your mapped folder directly.
  4. /D
  5. To automatically map your folder when your system starts, put the SUBST command in a batch file, and put the batch file in your Autostart folder in the start menu. Advanced users can use the windows task scheduler, however this is not covered here.
  6. These mappings are only created for the user who originally issued the SUBST command. When you login as "John", and you open a command prompt as "Administrator" and execute the SUBST command, "John" will not be able to see any mapped drive letters because the mapping was created for "Administrator". This is why you need to open the command prompt as a default user in Windows Vista and Windows 7. When using the task scheduler, again make sure that the command is executed under the default user account.
  7. Advertisement
Method 2
Method 2 of 2:

Thru the My Computer button (Graphical Method on Windows)

PDF download Download Article
  1. You will be able to rename this mapped drive to anything you want.
  2. Type the server and share name of the computer or folder you want or Click Browse to find the computer or folder, in the Folder box.
  3. Advertisement


Community Q&A

Search
Add New Question
  • Question
    In Win 10 I have used the SUBST method to successfully map a local folder to a drive letter. However, whenever I delete a file from the "drive" it bypasses the recycle bin and gets deleted permanently.
    Community Answer
    Community Answer
    Just drag them into the recycle bin. Or go to C: > Users > Username. Right-click on any folder of this location and click Properties > Location tab. Click on Move and browse the root drive (Which is mapped from before) and then hit Select Folder. Then click OK and when the dialog box appears hit Yes. Just repeat these steps for every user on the PC.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Take a Screenshot in Microsoft Windows Take a Screenshot on a Windows PC: 8 Simple Tricks
Check Your Windows VersionCheck Your Windows Version
Check Your Windows Product Key Find Your Windows Product Key
Install FFmpeg on WindowsEasily Download and Install FFmpeg on a Windows PC
Check Mouse Sensitivity (Dpi) on PC or Mac Check Your Mouse DPI on Windows & Mac
Start Windows in Safe Mode Start Windows in Safe Mode: 6 Easy Options
Change Your Desktop Background in Windows5 Quick Ways to Change Your Desktop Wallpaper on Windows
Get to the Boot Menu on Windows4 Easy Ways to Access the Boot Options Menu in Windows
Enter BIOS Access the BIOS on Any PC: Guide + Troubleshooting
Turn Off BitLocker Disable BitLocker Encryption in Windows 10 and 11
Move Game to Another Screen3 Easy Ways to Move a Full Screen Game to Another Monitor
Alter the Size of Your Windows Desktop Taskbar2 Ways to Alter the Size of Your Windows Desktop Taskbar
Automatically Shut Down Your Computer at a Specified TimeAutomatically Shut Down Your Computer at a Specified Time
Install Windows from UbuntuInstalling Windows 10 or 11 on Ubuntu: A Step-by-Step Guide
Advertisement

About This Article

Tested by:
wikiHow Technology Team
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 9 people, some anonymous, worked to edit and improve it over time. This article has been viewed 166,278 times.
How helpful is this?
Co-authors: 9
Updated: July 24, 2015
Views: 166,278
Categories: Windows
Thanks to all authors for creating a page that has been read 166,278 times.

Is this article up to date?

Advertisement