Windows – Access cygwin filesystem from host windows

cygwin;filesystemswindows

When running cygwin, it has it's internal virtual filesystem mappings which are visible to linux programs (well, ports) running inside cygwin. Accessing the host windows filesystem from within cygwin is easy, but what about the other way around? If I needed to somehow mount the virtual cygwin filesystem as a windows drive or ntfs folder or similar? Are there ready solutions?

Best Answer

Use cygpath -w cygwin-pathname to convert from a Cygwin path to a regular Windows path. For example, cygpath -w /cygdrive/c/Users will print C:\Users.

Related Question