Thursday, March 27, 2014

Windows Map disk D: to disk C:

As stupidity is inherent part of humanity :) the next case occurred:

In our big corporate project we must install external program and use special libraries. This external application can be installed only on disk D:\ and there is no way to change it. Yes, 21st century.

And what to do if you do not have disk D:?

One of the simplest solution in such case can be mapping all calls of the disk D: to disk C: with regedit:


REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"D:"="\\??\\C:\\D"

No comments:

Post a Comment