Skip to main content

Accessing Windows drive letters under cygwin

ItIf looksa likedrive youdoes justnot needhave an explicit mount point configured Cygwin will default to addan theimaginary mount point under /cygdrivecygdrive. prefix and change “\” into “/”. E.g.So “c:\windows\system32” becomes “/cygdrive/c/windows/system32”. (In most cases it’s best to change “\” into “/”.)

You can also create an alternate mount point and mount the drive there:

$ mkdir /c
$ mount c:/ /c

In this case “c:\windows\system32” becomes “/c/windows/system32”. Run “mount” to see the current list of mount points.