We all know that aberration called “Drives letters” in Windows, a present from the old DOS days. So, maybe you are interested in how to map a fake drive unit (let’s say N:) to an existent folder (for example, C:\Windows).
It’s really easy with substr.exe, all you have to do (once you know this program does exist, naturally) is:
subst N: C:\windows
now if you enter in N: you will see the Windows folder’s contents. This is done on a per-user basis (every user can have its N: pointing to a different directory) and it disappears on the first reboot.
If you want to have it permanent, there is a really nasty and hidden trick, creating a new key in the registry.
You have to go to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices
and there create a key named with the drive letter you want, colon included (N: in our example) and with this value:
you can obviously change c: and windows for whatever folder you want, but remember to double the backslash after the unit letter, because it won’t work with a single backslash.
Reboot and enjoy your new N: :)