-zuu6g
Last Updated: February 25, 2016
·
315
· keboo

Map drives to local directories

I have recently become a huge fan of SkyDrive.

By default the SkyDrive directory is located C:\Users<USER NAME>\SkyDrive

I am lazy and having a drive letter mapped to this directory made scripting and command line work much easier.

Using the SUBST command you can map any directory to a drive letter.

The syntax is:
SUBST <DRIVE LETTER>: <PATH TO DIRECTORY>

For my SkyDrive example the command looks like this:
SUBST S: C:\Users<USER NAME>\SkyDrive

Say Thanks
Respond