How to uniformly point to the root of a drive?

Thorsten Kampe
Sun May 20 15:38:00 GMT 2007

Hi there,

is there a way to consistently point (in a script for instance) to the 
root of a removable drive (flash drive)?

The root could be /cygdrive/g on one computer and on the other 
/cygdrive/f (I have no control of the drive letters). One solution 
would be to install Cygwin to \ (instead of the standard \cygwin) but 
for clarity's sake I would like to keep the Cygwin stuff in a 
directory of its own.

Any suggestions or hints?


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list