Get Cygwin home directory path for current user

Bill Stewart bstewart@iname.com
Fri Feb 15 20:17:00 GMT 2019


On Fri, Feb 15, 2019 at 4:50 AM Andrey Repin wrote:

> Not as good as bash. Just so you know.

We'll just agree to disagree on that (particularly on Windows).

> Setup your system to use %USERPROFILE% as $HOME and forget this problem
> altogether.
> For interoperability's sake! (q)

That won't work, because Cygwin $HOME can be different from the
USERPROFILE environment variable on Windows.

Regards,

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