delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/13:29:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <8C6D4989662C304087C58904BAB721A54B73C3@Hermes.astrum.de>
From: Harald Kierer <Harald DOT Kierer AT astrum DOT de>
To: "'Steve'" <beforewisdom AT yahoo DOT com>, cygwin AT cygwin DOT com
Subject: RE: Mounting Drives
Date: Thu, 20 Feb 2003 19:27:01 +0100
MIME-Version: 1.0

> -----Original Message-----
> From: Steve [mailto:beforewisdom AT yahoo DOT com]
> Sent: Thursday, February 20, 2003 7:08 PM
> To: cygwin AT cygwin DOT com
> Subject: Mounting Drives

> I'm on windows 2000 and I have a lot of drives ( [A-Z] ).
> 
> To access a file on another drive I have to issue a "cd" 
> command to that 
> drive first.

Just type the full path. A standard cygwin path is:
/cygdrive/c/path/to/your/file.sh

> Is it possible to set things up so I do not have to do this?

Mount that directory:
mount c:/path/to/your /mydir
and access it with /mydir/file.sh

Or put it to your path:
PATH=/cygdrive/c/path/to/your:$PATH
and access with file.sh

bye,
 harry

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019