Try this: $ ls /usr/bin/touch* /usr/bin/touch.exe $ cp /usr/bin/touch . $ ls touch.exe
## Note: isn't that clever? (cp hallucinates the ".exe" extension ## allowing a more unix-like syntax)... $ cp touch "#inst.123#" $ cp touch "#inst.1234#" $ ls #inst.123# #inst.1234#.exe touch.exe ## Note: ...sometimes, but not others $ cp --version cp (fileutils) 4.1 Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering. Copyright (C) 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ## Note: this breaks my installation attempt of gcc-3.0.4, but it ## looks like a Cygwin bug so I thought I'd report it. Is this a ## bug? ## Note: i believe this behaves the same with any .exe file; I just ## grabbed one from /usr/bin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/