This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Directory Aliasing


On Sat, Jul 14, 2007 at 11:33:30AM -0700, LittleTim wrote:
>Hello Everybody:
>
>I don't have a lot of experience using Cygwin:
>
>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.

mkdir /shortdir
mount -b 'c:\very long path name\My Work' /shortdir
cd /shortdir

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]