Hi, The cygwin-specific `--append-exe' option (announced here [1]) is ineffective for stat command (it works fine for ls). Here is a simple test case to reproduce the problem. This command should print "bash.exe": $ (cd /bin && /usr/bin/stat -t --append-exe bash | cut -d ' ' -f 1) bash The same option works fine with the ls command : $ (cd /bin && /usr/bin/ls --append-exe bash) bash.exe Version: $ /usr/bin/stat --version stat (GNU coreutils) 8.10 Packaged by Cygwin (8.10-1) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. Please find attached output of command cygcheck -s -v -r Regards, Greg [1] http://www.cygwin.com/ml/cygwin-announce/2006-01/msg00019.html