Directory Correspondence between Windows, MingW and Cygwin
From Bioinformatics.Org Wiki
MingW and Cygwin create Unix-like directory trees. This page uses the example of BIRCHBINDEV to illustrage how Windows directories correspond to those in MingW and Cygwin.
BIRCHBINDEV on Windows
C:\\Documents and Settings\ BIRCHBINDEV\ BIRCHBINDEV\ admin\ bin-winxp-32\ etc...
BIRCHBINDEV in MingW
When you open up a MingW shell it looks like this
BIRCHBINDEV@biolab-xp ~ $ ls -l total 11510 drwxr-xr-x 2 BIRCHBINDEV Administrators 0 Sep 10 2012 bin -rw-r--r-- 1 BIRCHBINDEV Administrators 11785566 Aug 30 2012 getbirch.jar drwxr-xr-x 2 BIRCHBINDEV Administrators 0 Aug 30 2012 getbirch_temp
To go to the BIRCHBINDEV directory:
$ cd '/c/Documents and Settings/BIRCHBINDEV/' BIRCHBINDEV@biolab-xp /c/Documents and Settings/BIRCHBINDEV
BIRCHBINDEV in Cygwin
To go to the BIRCHBINDEV directory type
BIRCHBINDEV@biolab-xp ~ $ cd /cygdrive/c/Documents\ and\ Settings/BIRCHBINDEV BIRCHBINDEV@biolab-xp /cygdrive/c/Documents and Settings/BIRCHBINDEV
Note: The cd convention of enclosing destination strings in quotes doesn't seem to work in Cygwin. You have to use backslashes to escape blanks.