On Thu, 14 Feb 2019 16:41:11 -0700 Bill Stewart wrote: > (?) I understand that the shell does ~ expansion. I am asking for a > way to get that particular path (forget about the ~ character for the > time being) without needing to invoke a Cygwin shell in the first > place. (That was the whole point of the request.)
If you don't want to use "shell", you can: c:/cygwin/bin/cygpath -w $(c:/cygwin/bin/getent passwd $env:USERNAME | c:/cygwin/bin/cut -d: -f6) but I'm not sure if you think this is "awkward" as well. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- 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