This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]