cygpath -w space becomes line breaks?

Andrey Repin
Sun Nov 1 20:51:06 GMT 2020

Greetings, 斟酌鵬兄!

Please no top-posting in the list.

> On Sun, Nov 1, 2020 at 11:39 PM Achim Gratz <> wrote:
>> > Is this intended or am I misconfiguring something?
>> You have to quote any arguments that may contain spaces in the shell,
>> else they get parsed as separate words and later interpreted as separate
>> arguments to cygpath.

> Ooooh thanks I do it like cygpath -w "`pwd`" and now it works now.

There's an easier way to achieve the same without a subshell call.

cygpath -alw .

With best regards,
Andrey Repin
Sunday, November 1, 2020 23:50:08

Sorry for my terrible english...

More information about the Cygwin mailing list