How do I map a local path to a drive letter in Windows 7?

Solution 1:

If it is only local what you need, try subst.

subst u: C:\cygwin\home\bob\code\

Solution 2:

Use vSubst. It is like the subst command line tool, but it has a UI and is persistent.

screenshot