2012/11/11 Nathan Ridge <zeratul976@hotmail.com>
'pwd -W' displays the windows-style path of the current directory in
MSYS, perhaps you can make use of that?
 
Cool, so Kraus:

$ winpath() {
      cd "$1"
      path=$(pwd -W)
      cd - > /dev/null
      echo "$path"
}

$ winpath /mingw
C:/Programs/Desenvolvimento/MinGW

$ translated=$(winpath /mingw/bin)
$ echo $translated
C:/Programs/Desenvolvimento/MinGW/bin


:)