Web lists-archives.com

Get Cygwin home directory path for current user




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