Get Cygwin home directory path for current user

Bill Stewart bstewart@iname.com
Thu Feb 14 19:49:00 GMT 2019


According to this:

https://stackoverflow.com/questions/42841907/

cygpath -w ~

...formerly produced to stdout the home directory path for the current user.

This seems not be the case any more: When I run cygpath -w ~, I get just ~.

Is this by design? If so, what's the way to programmatically determine
the Windows path of ~?

Bill

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list