Tired of opening long hauls? There is a way to bind a drive letter to a long path. This will save a ton of time when accessing frequently used folders. For example, you can bind a long path such as D: \ Documents \ John \ Letters to drive letter X.
Steps
Method 1 of 2: Via the command line

Step 1. Open a command prompt window
In Windows Vista or Windows 7, open Command Prompt as a normal user, not as an administrator. The reason will be explained later.

Step 2. Use the SUBST command to map the folder to a drive letter
For example: SUBST X: "D: \ Documents \ John \ Letters".

Step 3. Try it, open File Explorer
You should see a new X: drive through which you can open the folder directly.

Step 4. To remove the anchor, type SUBST X
/ D

Step 5. Please note that when you restart your computer, all the letters of the connected drives will be reset
Automatic folder mapping at system startup is achieved by adding the SUBST command to the batch file and placing the batch file in the Startup folder in the Start menu. Advanced users can use windows Task Scheduler, but this is not covered here.

Step 6. Run SUBST using the account that created it
These mappings are only created for the user who originally ran the SUBST command. When you login as "John" and open the command prompt as "Administrator" and execute the SUBST command, "John" will not see the mapped drives, because they are created for "Administrator". This is why you need to open a Command Prompt window as the default user in Windows Vista and Windows 7. When using the Scheduler, again make sure the command is run under the default user account.
Method 2 of 2: Via the My Computer button (Graphical method in Windows)
Step 1. Open My Computer on your Windows desktop. 2 Click Map Network Drive from the Tools menu. 3 Select the drive letter you want to assign to the mapped folder in the Drive field
You can rename this mapped drive to whatever you want. Step 4. Enter the name of the server and computer share in the Folder field or the path to the required folder, or click the Browse button to locate the computer or folder.