سؤال

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

ref

نصائح أخرى

Use double slashes:

lib //WX //NOLOGO
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top