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
1.1 Recommended
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 Driverwith the help of subst, we could also hide the Real Driver like “D: “ by Creating a homonymous Virtual Driver”D: “
1.2 Not Recommended
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 协议 ,转载请注明出处!