Last updated on:February 18, 2023 pm

After we change the label of a disk, the Install control programs in the original driver may be inexecutable, with an error of “Invalid Driver X:\ “

Solutions

Using a DOS-command: subst may solve this problem properly.

subst: Assign a driver label to a path(a directory) temporarily. Then the directory can be accessed as the Driver.

  • subst [Driver Label] [path to dir], Create a virtual driver on the /path/to/dir.

  • subst [Driver Label] /D, Delete the Created virtual driver.

  • subst, list the current Virtual Driver

  • with the help of subst, we could also hide the Real Driver like “D: “ by Creating a homonymous Virtual Driver”D: “

Modify the Driver Label to the required Label according to the error.

Be Cautious**!** Remember to change back to the original Driver Label, or you will find the other programs in this Disk are inaccessible.


本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!

x86汇编学习笔记(一) Previous
Kali Linux安装Docker Next

 TOC

载入天数... 载入时分秒...