Escape Windows-style /arg in Cygwin/MSYS

I need to execute Visual Studio's lib.exe from a MSYS environment, but arguments like "/WX /NOLOGO" are automatically replaced with "C:/dev/MinGW/msys/1.0/WX", for example.

How do I deactivate that behavior? I tried single/double quotes and even lib `echo /WX` ... but that doesn't solve it.


Sometimes you can use -switch idiom instead of /switch, example

attrib +h -s

instead of

attrib +h /s


Need Your Help

No line breaks with “cat”

linux bash ubuntu echo

This code should read from wget2.html and output the founded links. But it gives me output without line breaks.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.