I needed a persistent virtual drive on my Windows machine and came across this command:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v d: /t REG_SZ /d "\??\d:\d_drive" /f
After a restart I found my newly created virtual drive mounted at d:\ with the contents of c:\d_drive. This seems to work better and more persistent than just using the subst command.
No comments:
Post a Comment