Mounting Drives

Harald Kierer Harald.Kierer@astrum.de
Thu Feb 20 18:59:00 GMT 2003


> -----Original Message-----
> From: Steve [mailto:beforewisdom@yahoo.com]
> Sent: Thursday, February 20, 2003 7:08 PM
> To: cygwin@cygwin.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/



More information about the Cygwin mailing list