* is a legal character for ls but perhaps not cygpath? I don't know. No files or directories are using * in the name. Not sure about incorrect terminal settings as I never touched any. It shows up in mintty and ssh equally. The characters that appear vary. Some non-existent paths do *not* produce the gibberish. %%%cygpath -w /aaa/bbb/* C:\cygwin\aaa\bbb\ -----Original Message----- From: Andrey Repin [mailto:anrdaemon@yandex.ru] Sent: Friday, February 10, 2017 2:36 PM To: Gluszczak, Glenn; cygwin@cygwin.com Subject: Re: cygpath Greetings, Gluszczak, Glenn! > Isn’t this a defect in cygpath? Looks like memory corruption. > %%%cygpath -w /usr/non-existent/* > C:\cygwin\usr\non-existent\�[W�� Looks more like private character space combined with incorrect terminal setup. See http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars -- With best regards, Andrey Repin Friday, February 10, 2017 22:33:18 Sorry for my terrible english... ТÒÐÐ¥&ö&ÆVÒ&W÷'G3¢‡GG¢òö7–wv–âæ6öÒ÷&ö&ÆV×2æ‡FÖÀФd¢‡GG¢òö7–wv–âæ6öÒöfðФFö7VÖVçFF–ö㢇GG¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R–æfó¢‡GG¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×ÆPРÐ