cygpath -w issue

Andrey Repin
Thu Apr 19 11:35:00 GMT 2012

Greetings, Christopher Faylor!

> On Wed, Apr 18, 2012 at 07:51:05AM -0500, Nellis, Kenneth wrote:
>>cygpath -w seems to be inconsistent with /dev/* things:
>>$ uname -svr
>>CYGWIN_NT-5.1 1.7.14s(0.260/5/3) 20120406 19:41:34
>>$ cygpath -w /dev/clip
>>$ cygpath -w /dev/random
>>I first thought it was because C:\cygwin\dev\random
>>does not exist, but then:
>>$ cygpath -w /dev/xyz

> /dev/random has special meaning to Cygwin.  There is no windows
> equivalent to it so translating it to a Windows path wouldn't
> make any sense.  You couldn't use it in a Windows program.

> /dev/xyz has no meaning so Cygwin just translates it to a MS-DOS
> path.

Could it at least translate /dev/clipboard to CLIP: ?
Not very useful in general, but I can use it.

Andrey Repin ( 19.04.2012, <15:23>

Sorry for my terrible english...

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list