See, I want to use the output of pwd as input of cygpath, here is what I do
cygpath -w "`pwd`"
`` means executing pwd and get the result, "" will make sure we get the full path without worrying about blank. This command will show current path in windows format.