How to map path to drive letter? c:\foldername\folder = R:\

I would like to take a path on my C:\Big\Long\Path\Name and map it to another drive letter such as r:\   WITHOUT networking the folder.
I do not wish to share these files, I just want it to appear as drive R:\

Thank you for any help that you might have!!!
Who is Participating?
CasUKConnect With a Mentor Commented:

subst r: C:\Big\Long\Path\Name
cforantConnect With a Mentor Commented:
subst x: C:\{pathname}\foldername}
duankAuthor Commented:
I initially got an error message of "Invalid parameter -r:"
until I realized that r: was already taken by a network drive.

Thank you for your help guys!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.