title: How to get the Windows path to Cygwin home directory?
body: <p>How can I programmatically determine the current Cygwin user's home directory in Windows format (e.g. C:\cygwin\home\user) so I can read from it outside of Cygwin Bash?</p>