Run cmd.exe with /c.
Oleksandr Gavenko
gavenko@bifit.com.ua
Tue Mar 23 08:09:00 GMT 2010
On 2010.03.23 9:26, Linda Walsh wrote:
> Also if you want to use comspec, use it with cygpath:
>
> $(cygpath $COMSPEC) /c dir
>
I try add
$(error $(cygpath d:/tmp))
and
temp:
echo $(cygpath d:/tmp)
But it seems $(cygpath ) not expanded to Cygwin path.
My solution use
$(subst \,/,$(COMSPEC))
or
$(shell cygpath -u d:/tmp)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list