Directory Aliasing

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Sun Jul 15 18:44:00 GMT 2007


Reini Urban wrote:
> LittleTim schrieb:
>> Problem:  I do a lot of work in a directory with a long path name: 
>> C:\very
>> long path name\My Work
>>
>> Question:  Instead of having to type cd  C:\very long path name\My Work
>> everytime I want to switch to this directory, is there any way to do
>> aliasing?  For example, no matter where I am in the file system, 
>> typing cd ~
>> will take me to my home directory.  I've tried to create a symbolic 
>> link. Of course the symbolic link is only valid in the directory where 
>> the
>> symbolic link exists, and not from anywhere in the file system.
> 
> use cygwin mount (cygwin only) or hardlinks by ln or junction 
> (sysinternals.com)

I think you mean symlink with 'ln'.  Hard links aren't supported for
directories.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list