2013-01-23 22 views
1

我需要從MSYS環境中執行Visual Studio的lib.exe,但像「/ WX/NOLOGO」這樣的參數會自動替換爲「C:/ dev/MinGW/msys/1.0/WX「,例如。在Cygwin/MSYS中退出Windows風格/ arg

如何取消激活該行爲?我試過單/雙引號,甚至是lib `echo /WX` ...,但這並不能解決問題。

回答

1

有時你可以使用-switch成語,而不是/switch,例如

attrib +h -s 

,而不是

attrib +h /s 

ref

+0

Unforuntately,that does not work for all windows tools - some do not understand'-'而不是'/' –