This is the mail archive of the cygwin@cygwin.com 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: Mounting Drives


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


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