How to access different directories outside cygwin home dir

cdcygwin;home-directorylocal-storage

I have installed dropbox in my computer, but it is located outside my cygwin directory. The probably easiest way would be to just move the dropbox directory to cygwin's home dir.
Anyway I wonder if it is possible to browse to my dropbox directory from cygwin instead?

Best Answer

You can access the root of your C: drive, for example, from cygwin by specifying the directory /cygdrive/c, e.g.,

$ cd /cygdrive/c

Similarly, the path to any file on your C: drive can be constructed by prefixing the Windows path (without the "C:" and with \s changed to /s) with /cygdrive/c, so C:\Dropbox\myfile would be accessed from within Cygwin as /cygdrive/c/Dropbox/myfile.