Using cygpath with backticks

Matt D.
Sat Jun 22 15:58:00 GMT 2013

Maybe I've just had a long week but I can't seem to get this to work:

alias pathw='echo `cygpath -w "$@"`'
pathw "/cygdrive/g/"

I also tried:

alias pathw='echo $(cygpath -w "$@")'

cygpath just yells at me that I'm doing something wrong.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list