X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <12471295 DOT post AT talk DOT nabble DOT com> <12478754 DOT post AT talk DOT nabble DOT com> <1188916455 DOT 20572 DOT 26 DOT camel AT jhereg> Subject: RE: Help with mount.. Date: Tue, 4 Sep 2007 15:55:01 +0100 Message-ID: <038a01c7ef03$91fd5eb0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1188916455.20572.26.camel@jhereg> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 04 September 2007 15:34, Reid Thompson wrote: > On Tue, 2007-09-04 at 07:03 -0700, gms5002 wrote: >> Thanks for the reply Steve. What I am actually trying to achieve here is >> to be able to access a certain folder (say C:\foo\bar) by typing cd /bar >> at the command prompt. > echo 'alias cdbar="cd /cygdrive/foo/bar"' >> .bashrc Ok, that does literally what he asked for (except not quite literally, since "cdbar" and "cd /bar" aren't literally the same, and also you meant to say "/cygdrive/c/foo/bar", not "/cygdrive/foo/bar"), but I think we can assume that he also wants to be able to write "ls /bar" and "pushd /bar" and "touch /bar/baz/quux" and have them all work. It's a very limited solution. The most meaningful other solution would have been something like ln -s /cygdrive/c/foo/bar /bar cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/