Friday 22 September 2017

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


I am coding on something and want to map \cygwin\home\bob\code\ to U: drive letter. When I try to map it using net use C:\cygwin\home\bob\code\ U: /P:yes , but it gave the following error:


System error 67 has occurred
The network name cannot be found

But it's not actually a network path I'm trying to map. How do I do this?



Answer



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


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

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...