Skip to content

Changing drives in Cygwin

In DOS you may have been used to D: to change to the D drive. Cygwin provides a mapping of DOS/Windows drives to the unix file system by mapping or mounting drives into the /cygdrive/ directory. To change to the D: drive you would type:

Terminal window
cd /cygdrive/d

Alternatively you can use:

Terminal window
cd d:/