可以为单个卷分配多个驱动器号吗?

Jar*_*sch 22 hard-drive windows-8

我正在将许多不同驱动器的数据迁移到一个庞大的 Windows 8 存储空间。

我的问题是我的许多程序引用了不同的驱动器号来访问它们的库、文件、音乐、电影等。

例如,有什么办法可以让驱动器 D、E、F 和 G 的任何引用都指向新驱动器 S:?

Bob*_*Bob 31

是的,subst在命令行中使用命令:subst NewLetter: OldLetter:\

例如,还要为当前C:驱动器分配字母H:subst H: 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.
Run Code Online (Sandbox Code Playgroud)