2

I'm using subst to create virtual drive mapping to a working folder for ease of use (I can't use mklink as "secpol.msc" is disabled, or new-symlink as power script is disabled), the Volume of the virtual drive is set the same as the physical drive where the working folder belongs to. Is there a way to change the Volume of the virtual drive?

Donald Duck
  • 2,473
  • 10
  • 29
  • 45
athos
  • 2,249
  • 10
  • 40
  • 56

1 Answers1

0

As you suspected, Mount-Points always share the name of the root drive they are located on. Renaming often renames both. Apparently the registry can be temporarily modified if that suits your need.

A quick alternate could be NET USE. At least this takes the label of the folder you are mounting instead.

Ps. NET USE must point to a network share eg:

NET USE v: '\\localhost\c$\Temp'

^^ This will create a new V:\ drive called Temp ... assuming this folder exists (and the administrative share is available).

Hicsy
  • 318
  • 2
  • 16