如何把文件夹影射为磁盘

有时你经常需要访问一个很深的文件夹目录,像C:\Users\Public\Documents\shared\Clients\pitt\Project\
如果把它影射到 G:\? 是不是方便多了呢?
影射一个网络磁盘可以利用Map Network Drive.对于本地文件夹可以用命令和软件来实现。
(1)命令要用到“subst”
可以通过subst /? 命令来查看使用方法,显示如下:

C:\>subst /?
Associates a path with a drive letter.


SUBST [drive1: [drive2:]path]
SUBST drive1: /D


drive1: Specifies a virtual drive to which you want to assign a path.
[drive2:]path Specifies a physical drive and path you want to assign to
a virtual drive.
/D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

C:\>

(2)借助Visual Subst软件

Visual Subst

visualsubst.png

收藏与分享

关于 pitt

不慌..不乱.. 请相信Pitt....
此条目发表在 Software 分类目录,贴了 , 标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已被标记为 *

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>