Sunday, 5 November 2017

Map a Local Folder Just Like a Network Drive

16
of 21

Map a Local Folder Just Like a Network Drive


Screenshot of a local folder mapped like a network drive

The net use command is used to assign shared drives on a network to your own computer as a drive letter, but did you know there's another command that can be used to do the same thing to any folder on any of your local hard drives?
There is, and it's called the subst command. Just execute the subst command, followed by the path of the folder you wish to appear as a drive.
For example, let's say you want your C:\Windows\Fonts folder to appear as the Q:drive. Just execute subst q: c:\windows\fonts and you're set!
This Command Prompt trick makes accessing a particular location from the Command Prompt much easier.
Tip: An easy way to delete the "network drive" example here is with the subst /d q:command. Just replace the q: with your own drive letter.

No comments:

Post a Comment

Edit Websites in Browser (Live)

                                        Edit Websites in Browser (Live) Imagine a world where you are a God and have ultimate control ...

ALL POST